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

Re: administration of initscripts

Hello Roger

Excerpt from Roger Leigh:

>>> update-rc.d foo disable|enable

-- <snip> --
>> It might be a nuisance but running the stop part of the initscript isn't the
>> same as not touching it all?
> Sorry, I don't quite understand the question here.  update-rc.d
> never starts or stops anything--all it does is adjust the rc.d
> links.

Yes, the man page says it swaps the S for a K.
e.g. say we have the following link:

Then afaik - and please correct if i am wrong - init will call the stop part of
this initscript when ever runlevel 2 is entered. So basically during each boot
process. Why should we spent resources on that?
Therefor rc-update() places those links instead only in runlevel 1 where they
might even be useful without wasting time on them during bootup, nor shutdown.


721B 1BA0 095C 1ABA 3FC6  7C18 89A4 A2A0 C70B 1A8F

Reply to: