Re: Common power management infrastructure
On Tue, Aug 24, 2004 at 09:48:50AM +0200, Bart Samwel wrote:
> John Hasler wrote:
> >>To run these enhanced initscripts you need something like the current
> >>runlevel system.
> >
> >Perhaps you could use the runlevel system itself. There are plenty of
> >unused levels.
>
> Doesn't switching runlevels involve stopping all running services from
> the previous runlevel and then restarting them in the new runlevel?
No. The rc script will only start services that have an S link in the
runlevel you're going to, but not in the runlevel you're coming from. It
will also only kill services that have a K link in the level you're
coming from.
--
EARTH
smog | bricks
AIR -- mud -- FIRE
soda water | tequila
WATER
-- with thanks to fortune
Reply to: