[plug] Bootup services

Brian Tombleson brian at paradigmit.com.au
Mon Feb 25 21:19:18 WST 2002


Err ..

When entering runlevel X, all the scripts starting with 'S' in the directory
/etc/rcX.d/ are executed with the argument 'start'
When leaving runlevel X, all the scripts starting with 'K' in the directory
/etc/rcX.d/ are executed with the argument 'stop'

.. at least, that's what I thought.
Relevant files/scripts to look through:
  /etc/inittab
  /etc/init.d/rc
  /etc/init.d/rcS

- Brian.

----- Original Message -----
From: "Andrew Pamment" <apamment at yahoo.com>
To: <plug at plug.linux.org.au>
Sent: Monday, February 25, 2002 8:57 PM
Subject: Re: [plug] Bootup services


>
>
> Andrew Pamment wrote:
>
>
> > the number) and stoping all the K ones - S takes priority over K.. your
>
>
> sorry, it does the K ones if there was a previous runlevel i think.. so
> if you switch runlevels, it runs the K scripts, for the previous runlevel.
>
> so if you boot up in runlevel 4, it runs all the S scripts when you
> start runlevel 4, then when you shut down you switch to runlevel 0 and
> run all the K scripts in the runlevel 4 directory, then all the S
> scripts in the runlevel 0 zero directory.
>
> there. i think thats right now.
>
> andrew
>
> --
> If you want to know what God thinks of money,
>     just look at those he gives it to.
>
>



More information about the plug mailing list