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?
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):
|show 7 more comments|
My bad. Just check one then. Thanks for the correction enzotib :)