jump to navigation

Ubuntu.. More Control June 5, 2007

Posted by sandakith in linux, Open Source.

Here’s a good one for people who’ve been using Ubuntu for a while and now want to take more control over their system in terms of executing their own scripts at the startup ( Ex : JDK debug speeding patch script)

To make a script startup on boot: First copy the script to /etc/init.d/
`sudo cp MYSCRIPT /etc/init.d/`

Then enable it sudo update-rc.d MYSCRIPT defaults`
…and that’s it.

Simple and very useful Utility also to enable/disable startup scripts:
`sudo apt-get install sysv-rc-conf`
`sudo sysv-rc-conf`
And then you can select/unselect services for each runlevel.

Have Fun.. with more control..



No comments yet — be the first.

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: