Ubuntu.. More Control June 5, 2007Posted 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`
And then you can select/unselect services for each runlevel.
Have Fun.. with more control..