I am trying to run a shell command during bootup.
Let's call it myscript
The script runs fine manually.
Here are my steps.
#Move this to /etc/init.d
mv myscript /etc/init.d/
# Make this executible
sudo chmod 755 /etc/init.d/myscript
#Register the script to be run at boot and shutdown
sudo update-rc.d myscript defaults
# no errors
I wonder, what may i be doing wrong?
Please help.
thank you
jim