Re: Question about scripts in /etc/rc6.d [Solved]
Now it's clear to me. Thanks to Bob and Shyamal.
On Sun, Feb 16, 2003 at 01:16:34PM -0500, Bob Hilliard wrote:
> Qian Gong <email@example.com> writes:
> > In /etc/rc6.d there is a link S30urandom. But run level 6 means reboot,
> > which should stop (K) urandom, instead of start (S). More interesting is
> > that "init 6" actually stops urandom. Another link is S35networking whose
> > name means "start", but in fact "networking" is stopped. Any idea to
> > explain? Thanks in advance.
> This is a quirk in the sysvinit system. It is explained in
> /usr/share/doc/sysvinit/README.runlevels.gz, and in Debian policy
> Section 10.3. From policy 10.3.1:
> The two runlevels 0 (halt) and 6 (reboot) are slightly different. In
> these runlevels, the links with an `S' prefix are still called after
> those with a `K' prefix, but they too are called with the single
> argument `stop'.
> |_) _ |_ Robert D. Hilliard <firstname.lastname@example.org>
> |_) (_) |_) 1294 S.W. Seagull Way <email@example.com>
> Palm City, FL 34990 USA GPG Key ID: 390D6559