Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jul 2000 18:21:10 -0700 (PDT)
From:      Kelly Yancey <kbyanc@posi.net>
To:        Mike Meyer <mwm@mired.org>
Cc:        current@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: etc/rc.d & things...
Message-ID:  <Pine.BSF.4.21.0007081814360.29324-100000@gateway.posi.net>
In-Reply-To: <14695.51428.314772.426883@guru.mired.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 8 Jul 2000, Mike Meyer wrote:

> > By all means, use start/stop args, but hard link the .sh files into seperate
> > directories or something so that the order can be tweaked..
> 
> If all you want is to make sure that shutdown happens in the reverse
> order of startup, that can be done by reversing the list in
> rc.shutdown. But how about going a step further, and starting towards
> a user-friendly configuration process?
> 
> Instead of being globbed at init time, etc/rc.d is a repository for
> things that take start/stop arguments. They are symlinked to
> /etc/init.d with numeric prefixes to control order at initialization
> time. Likewise, they can be symlinked to /etc/down.d (or shutdown.d)
> with numeric prefixes to control order at shutdown time.
> 

  How about rather then separate directories, you prefix the symlink names 
with 'S' for startup scripts and 'K' (for "kill") for shutdown scripts. Then,
you rename rc.d to rc3.d...

  Ducks and runs,

  Kelly

--
Kelly Yancey  -  kbyanc@posi.net  -  Belmont, CA
System Administrator, eGroups.com                  http://www.egroups.com/
Maintainer, BSD Driver Database       http://www.posi.net/freebsd/drivers/
Coordinator, Team FreeBSD        http://www.posi.net/freebsd/Team-FreeBSD/



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007081814360.29324-100000>