I have a small but annoying problem... I have two scripts that I want to run automatically one at boot and one at shutdown.
For the one at boot I tried to put it in rc.local or to create a file in /etc/init.d/ based on the others files in the folder but nothing worked... I need it to run system-wide and not once a specific user is logged in.
For the script at shutdown I don't know how to do it but it can be user specific or system-wide I don't really care...
I am running Ubuntu 10.10 64bits with kernel 2.6.35-24-generic
If anyone has a solution, thanks.
PS. I should add that when executed manually both scripts works perfectly well and I don't need those script to run continuously in the background, just run and quit.