Start up service in Linux

To set a service runs on start up

$sudo update-rc.d myscripts defaults

You will get to see something like below on terminal

/etc/rc0.d/K20myscripts -> ../init.d/myscripts
/etc/rc1.d/K20myscripts -> ../init.d/myscripts
/etc/rc6.d/K20myscripts -> ../init.d/myscripts
/etc/rc2.d/S20myscripts -> ../init.d/myscripts
/etc/rc3.d/S20myscripts -> ../init.d/myscripts
/etc/rc4.d/S20myscripts -> ../init.d/myscripts
/etc/rc5.d/S20myscripts -> ../init.d/myscripts

To remove the script from start up

$sudo rm /etc/rc*/*myscripts

Or alternatively, you can install a good GUI app call rcconf to run in the terminal.

$sudo apt-get install rcconf
$sudo rcconf