Re: question on sysvinit
>>>>> "Sven" == Sven Burgener <svenb@bluewin.ch> writes:
itz> Why is it this way? Well, there's really no way to tell init to
itz> execute programs upon _exiting_ a runlevel, or upon a transition
itz> from one level to another; the /etc/inittab that defines
itz> runlevels is one-dimensional. So the transition must be defined
itz> independently of the old level.
Sven> In their manual, SuSE document that upon changing from say
Sven> runlevel 2 to 3, first all links matching /sbin/init.d/rc2.d/K*
Sven> get executed and then the links matching
Sven> /sbin/init.d/rc3.d/S*. (Funnily they have init.d under /sbin and
Sven> not /etc)
Maybe that's how SuSE does it, but not Debian.
Sven> "specification" for this? Or does it simply not matter? :)
AFAIK there's no written standard for this yet, but soon there will be
(the Linux Standard Base). You can check their drafts.
The original System V init did it the Debian way, I believe.
--
Ian Zimmerman, Oakland, California, U.S.A.
In his own soul a man bears the source
from which he draws all his sorrows and his joys.
Sophocles.
Reply to: