Re: question on sysvinit
On Sat, Jun 24, 2000 at 10:19:10AM -0700, Ian Zimmerman wrote:
> level). Then the S scripts start everything that is needed, again
> potentially restarting things that were already active on the old
> level (although Debian avoids that as a matter of optimization).
See.
> Why is it this way? Well, there's really no way to tell init to
> execute programs upon _exiting_ a runlevel, or upon a transition from
> one level to another; the /etc/inittab that defines runlevels is
> one-dimensional. So the transition must be defined independently of
> the old level.
In their manual, SuSE document that upon changing from say runlevel
2 to 3, first all links matching /sbin/init.d/rc2.d/K* get executed
and then the links matching /sbin/init.d/rc3.d/S*. (Funnily they have
init.d under /sbin and not /etc)
But which is the "proper" way of dealing with this? Is there no
"specification" for this? Or does it simply not matter? :)
Some ideas / thoughts anyone?
Cheers
--
S. Burgener
Powered by Debian GNU/Linux 2.2
Reply to: