Re: Starting services in runlevels 0 and 6
On Thu, Oct 12, 2006 at 07:34:19PM -0700, Jurij Smakov wrote:
> I've accidentally noticed that there are a few services which are
> *started* when entering runlevels 0 and 6 (halt and reboot,
> respectively). For example, on my mostly up-to-date sid system I have:
> /etc/rc0.d/S37sendsigs (start action for this one is a no-op)
> 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.
Jurij Smakov firstname.lastname@example.org
Key: http://www.wooyd.org/pgpkey/ KeyID: C99E03CC