jump to navigation

Removing or Editing a Startup Script September 9, 2005

Posted by Carthik in administration, ubuntu.
trackback

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:

$sudo rcconf

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 remove

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

$man update-rc.d

for more instructions and details on update-rc.d

Comments»

1. krampo - February 8, 2006

hmm…and what about bum? Boot-Up Manager. to my mind it does all the same, only in GUI.

$sudo apt-get install bum

http://easylinux.info/wiki/Ubuntu#How_to_install_Boot-Up_Manager_.28BUM.29

2. Whit - December 21, 2006

rcconf appears to be a weak tool. I’m trying to remove gdm from the startup, but it doesn’t even show it as an option – yet the gdm scripts are there in the /etc/rc.* directories. bum at least show gdm, and offers to change its runlevel priority, but doesn’t seem to offer an option to simply remove its startup scripts. Debian must have a real tool for this somewhere, right? Or does it try to stop users from really controlling their systems – or is it just Ubuntu that’s like this?

3. Adi - January 11, 2007

Real Player 10 does not work on my Ubuntu partition. Upon searching blogs it says that I need to edit line 73 in the realplay file in /usr/bin/realplay10.0.8 from @REALPLAY to aoss @REALPLAY, but I cannot edit the file as it says I have no right.

Can some one tell me how can I edit the file?

4. Albert - January 20, 2007

@Adi

You absolutely shouldn’t ask it here. However, I guess you should just type:

sudo gedit THEFILE

5. John Mack - July 24, 2007

Leave it to Ms Lohan..hahaha

6. Likenota.com - December 13, 2007

wow rconfig is crap… bum is definitly alot nicer.. technically couldnt you just use the sessions in the system -> preferences?

7. links for 2009-03-04 « My place - March 5, 2009

[…] Removing or Editing a Startup Script « Ubuntu Blog $sudo update-rc.d -f FOO remove (tags: ubuntu bash shell startup remove script) […]

8. ferral-cat - May 13, 2009

+1 on BUM

I have been using the command line tool but am glad you told me about BUM

Way better and easier way to disable the start-up bloat

9. Mohit - February 13, 2010

BUM is better that rcconf.
Apart from gui,it also has other features.

10. bayan escort - August 9, 2010

Thanks for helpful information bayan escort siteleri you catch up us with your sagol instructional çok explanation.

11. seks izle - September 29, 2010

rcconf appears to be a weak tool. I’m trying to remove gdm from the startup, but it doesn’t even show it as an option – yet the gdm scripts are there in the /etc/rc.* directories. bum at least show gdm, and offers to change its runlevel priority, but doesn’t seem to offer an option to simply remove its startup scripts. Debian must have a real tool for this somewhere, right? Or does it try to stop users from really controlling their systems – or is it just Ubuntu that’s like this?

12. Ivette Falkenstein - February 3, 2011

I like this website very much so much excellent information.

13. Roulettemethod - March 25, 2011

Good post.You did a well work,and offer much effective imformation for us!Thank you!please

14. Escort Service London - April 27, 2011

Really nice information this edit will remove the program from beginning immediately when you start your Windows-based computer and may also reduce the time it takes for your computer to boot up.

15. escort yaprak - May 6, 2011

Health has been good to your site on your hands ad

16. escort yagmur - May 6, 2011

Health has been good to your site on your hands ad

17. Adult Sex Toys - July 20, 2011

Adult Sex Toys


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: