Removing or Editing a Startup Script September 9, 2005Posted by Carthik in administration, ubuntu.
Earlier we saw how to add one of your own scripts to run when you startup the computer with ubuntu on it.
Now we get to removing startup scripts, or editing them.
You can install the Debian Runlevel Configuration Tool, rcconf:
$sudo apt-get install rcconf
Then you can execute rcconf as the root user:
and select/deselect services to start at startup by pressing the spacebar to toggle the “*”s, and then use the Tab key to get to “OK” and press Enter to save the changes. I find it useful to turn off those services that I don’t personally need, speeding up the startup process.
On the other hand, you can also do a:
$sudo update-rc.d -f
to remove the service or script from the startup scripts. This is useful if you want to stop a script, but not a whole daemon, or a script which calls a whole lot of other scripts from starting at startup. For example, you can use it to remove the “networking” script from running at startup, if you prefer to setup wireless, or ethernet netoworking after you have logged in. This is useful when you have a laptop, like I do. Of course, if you think you have made a mistake by removing something, you can always add it right back in. Refer to
for more instructions and details on update-rc.d