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

Re: Strang shutdown mechanism with Debian



In article <[🔎] 19980519194402.B14821@tapiola.infodrom.north.de>,
Martin Schulze <joey@infodrom.north.de> wrote:
>How do other unixes achieve this?  E.g. a Slowaris box at work uses
>5 scripts that need to run a particular order, we only have 2 of them
>and 3 that they doesn't have.  Fortunately they don't have Sxx scripts
>that need to be called with the "stop" argument. :-)

Solaris has different "rc" scripts for the runlevels. We use a unified
/etc/init.d/rc script with an argument indicating the runlevel. Solaris
uses /etc/rc0, /etc/rc1, /etc/rc2 etc.

Those scripts run the stuff in their /etc/rc?.d and then do some more
stuff. For example /etc/rc0 unmounts all filesystems after the /etc/rc0.d
scripts have run.

I think our way is much cleaner than that.. even though we do have
a seperate /etc/init.d/rcS script. That probably wouldn't have been nessecary.

Mike.
-- 
 Miquel van Smoorenburg | Our vision is to speed up time,
    miquels@cistron.nl  |   eventually eliminating it.


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: