I have a script that I would like to run when my system starts. I have put it on "rc.local", but it doesn't work. How can I enable it to run on startup?
Thanks!
|
|
Can you run your script manually? If not, it's a problem with that script; otherwise look more at rc.local. (If that script needs to run as root, you need use sudo to manually run it.) Make sure /etc/rc.local is executable and that the script it calls is also executable.
Make sure rc.local has a shebang line (which is the default):
|
|||||||||||
|
|
2 suggestions.
My bad. Just check one then. Thanks for the correction enzotib :) |
|||||
|
|
I have this problem for a while now... Updated from 12.04 to 12.10 and couple of days ago to 13.04 and the problem still persist. During all that time Google finds nothing usefull. The script executes fine when run manually, but it wont execute at startup... |
|||
|
|