[SOLVED] Udev doesn't execute a script

Hi,I've been using a script for configuring trackpoint automatically ran by udev at start for a long time. I've been using this guide.So I have created /etc/udev/rules.d/10-custom.rules with this content:

But a week back i noticed the script isn't ran automatically and I have to do

$ sudo sh /etc/conf.d/trackpoint

to get the customized settings applied, what's more I don't understand why I have to run the "sh" command as root otherwise i get "Permission denied" despite the script is executable for everyone.Any idea? Thanks.

Re: [SOLVED] Udev doesn't execute a script

UPDATE:I've realized that the "Permission denied" error stems from the inability to modify the Sysfs options (sensitivity, speed, ...) by the script but the sript itself is executed after all. So i just added "su -c" to every line changing a Sysfs option in the script, it now looks like this:

... and I can finally execute it with "sh" without the root permssions however udev still doesn't seem to apply the Sysfs options automatically.Nevertheless according to the debug output the udev rule should run:

$ udevadm test /sys/devices/platform/i8042/serio1/serio2/
calling: test
version 202
This program is for debugging only, it does not run any program
specified by a RUN key. It may show incorrect results, because
some values may be different, or not available at a simulation run.
=== trie on-disk ===
tool version: 202
file size: 5615641 bytes
header size 80 bytes
strings 1258089 bytes
nodes 4357472 bytes
load module index
read rules file: /etc/udev/rules.d/10-custom.rules
...

Re: [SOLVED] Udev doesn't execute a script

Alright, I got it working. According to this I only had to rename the udev rule "10-custom.rules" to "81-custom.rules" so it's executed later during the boot process when the device node is finally created or something like that.