Originally posted by JayCnrs
Do you have a file called /etc/rc.d/rc.local. If so then you save the script you found someplace as root, maybe /usr/bin, make the file executable chmod 755 filename. Then in your rc.local file add the line:
This will execute the file upon startup.
I do not have the above file. I think in debian it is recommended that these type of scripts go into /etc/init.d/rcS. I tried the following:
In /etc/init.d/rcS I have placed /home/peter/touchpad.sh. This does not work, and gives a message seen at start up something like "/etc/init.d/rcS run line 14 /home/peter/touchpad.sh not a file or directory found".
I have actually placed the entire script in /etc/init.d/rcS. This does not work, and gives a message seen at start up something like "can not find /usr/bin/tpconfig".
(note: I see these messages at start up but not in the message or kernel logs, why?)
All this strikes me as a path problem of some sort. The path in /etc/init.d/rcS seem to include /usr/bin. Does the path change as you execute another script?
I do not know why running dpkg-reconfigure tpconfig, and setting in the options "--tapmode=0" does not work. This seems to me like it should work, with no need for this script.
If I do need to use this script I just can not seen to get it right. I sure it is some thing I am doing wrong. Suggestions welcome.