Saturday, November 19, 2011

How To Add a start up script to be Run at Boot time in Ubuntu


First Save your script in

  /etc/init.d/


then type:


sudo update-rc.d script_name defaults

This script will now run each time you boot up.

No comments: