Re: /etc/init.d/ - add/remove services
Incoming from Adam Aube:
> On Friday 30 January 2004 03:15 pm, mrl7d4@sbcglobal.net wrote:
> > What is the preferred way to add or remove a /etc/init.d/ service from
> > certain runlevels?
>
> For adding, use the update-rc.d script. To remove, just manually delete
> the symlink. You can use update-rc.d to remove, but you would need to
> first remove all the symlinks, then add the set that you want.
Alternatively, leave the links alone and just manipulate the scripts
in /etc/init.d themselves. If you don't want something to run, insert
"exit" near the top of the script (after the shebang line).
--
Any technology distinguishable from magic is insufficiently advanced.
(*) http://www.spots.ab.ca/~keeling
- -
Reply to: