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

Re: Starting services in runlevels 0 and 6



Hello Jurij,

Jurij Smakov <jurij@wooyd.org> wrote:
> On Thu, Oct 12, 2006 at 07:34:19PM -0700, Jurij Smakov wrote:
>> /etc/rc0.d/S30urandom
>> /etc/rc0.d/S35networking
>> /etc/rc0.d/S36ifupdown
>> /etc/rc0.d/S37sendsigs (start action for this one is a no-op)
>> /etc/rc0.d/S48cryptdisks 
>> /etc/rc0.d/S59cryptdisks-early
>> 
>> and similar stuff in /etc/rc6.d. I cannot find a rational explanation 
>> for starting services right before shutdown. Is it intentional, or are 
>> those just bugs?
>
> It was pointed out to me, that even the scripts starting with S are 
> called with argument 'stop' for runlevels 0 and 6 by /etc/init.d/rc. 
> However, the reason why it is implemented that way is still not clear.

Because the S scripts are run after the K scripts. This way it is
possible to run special scripts at very last.

Bye, Jörg.
-- 
Life can only be understood backwards, but it must be lived forwards.
                                             (Soren Kierkegaard)



Reply to: