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

Re: Fwd: Graphical Shutdown



On Mon, Sep 17, 2007 at 01:25:18PM -0600, Richi Plana wrote:
> Yes, that's what I wanted to know with both questions: if the current
> system is smart enough to know which services to shut down and what not
> to when changing runlevels. Just by looking at the contents
> of /etc/rc<RL>.d/, it just seems so flat (no hierarchy info) that it's
> possible to think that the system might actually be shutting down all
> services and restarting them in the new run-level.

I think you're looking for /etc/rc, which additionally checks for the
presence or absence of a /var/lock/subsys file which matches the
script's name, in order to decide whether or not to skip stopping or
starting the service.

HTH,

Nalin


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