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

Re: Question about scripts in /etc/rc6.d



Qian Gong <q.gong@tue.nl> 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'.

Regards,

Bob
-- 
   _
  |_)  _  |_    Robert D. Hilliard        <hilliard@debian.org>
  |_) (_) |_)   1294 S.W. Seagull Way     <bob@bobhilliard.net>
                Palm City, FL 34990 USA   GPG Key ID: 390D6559 
                                            



Reply to: