Originally posted by: The Linuxator
I have an idea is it possible to embed this code in a symlink that is used by default in the system ? so that way while that symlink is executing a regular task at bootup it will enable the trackpoint on it's way ?
Originally posted by: n0cmonkey
Originally posted by: The Linuxator
I have an idea is it possible to embed this code in a symlink that is used by default in the system ? so that way while that symlink is executing a regular task at bootup it will enable the trackpoint on it's way ?
Uh, what? You can add the script code to another one of the startup scripts, but that's the wrong way to do things.
Anything about this in the logs?
Before you echo the values you posted into the files you posted, do those files exist? If not, my script is broken. You can try the following instead:
Originally posted by: The Linuxator
Originally posted by: n0cmonkey
Originally posted by: The Linuxator
I have an idea is it possible to embed this code in a symlink that is used by default in the system ? so that way while that symlink is executing a regular task at bootup it will enable the trackpoint on it's way ?
Uh, what? You can add the script code to another one of the startup scripts, but that's the wrong way to do things.
Anything about this in the logs?
Before you echo the values you posted into the files you posted, do those files exist? If not, my script is broken. You can try the following instead:
Ya the problem is I don't understand how loops are made in bash otherwise I would have spotted any issues, I 'll try the code without the loops (like what you have) and see if that is the issue.
Originally posted by: n0cmonkey
Anything in the logs with a hint as to why it's failing?
Originally posted by: n0cmonkey
BTW, this is just a script. So you can run it like any other script.
something like: /etc/init.d/trackpoint_script.sh start
Originally posted by: The Linuxator
Originally posted by: n0cmonkey
BTW, this is just a script. So you can run it like any other script.
something like: /etc/init.d/trackpoint_script.sh start
So there was no need for those lame reboots ?
Originally posted by: n0cmonkey
Originally posted by: The Linuxator
Originally posted by: n0cmonkey
BTW, this is just a script. So you can run it like any other script.
something like: /etc/init.d/trackpoint_script.sh start
So there was no need for those lame reboots ?
Maybe, maybe not. Testing it one way is fine, but a reboot gives it a real world type test.
The previous scripts were dumber, and didn't allow you to "turn them off." This one should (although I have no idea if 0 is off in both cases).
You'll still need the symlink, but I don't think it'll break unless you change the file in /etc/init.d or delete the symlink.![]()
