[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Turning off services SOLVED



On 07/01/2001 at 16:31 +0100, Stefan Frank wrote:
> What i'm doing usually is to rename the init-script under /etc/init.d/ to
> original-filename.NO. This will affect all runlevels but i don't care.
> IMO it's simple and quite obvious (for me at least).
> 
> Anyone got a better idea ?
> 
Debian has an excellent set of scripts for this and much more..

Why don't you do (as root) "update-rc.d -f service-name remove" and later,
when you want to enable it again, do a "update-rc.d service-name defaults"?

Simple, quick and effective. :)

Regards, sena...

-- 
sena@decoy.ath.cx, http://www.smux.net/~sena/
gpg fingerprint: F20B 12A8 A8F6 FD1F 9B1D BA62 C424 8E73 DD2E 47C8
SMUX - http://www.smux.net/



Reply to: