Date: Mon, 10 Jul 2000 09:10:27 -0400 From: Mikel <mikel@ocsny.com> To: Kelly Yancey <kbyanc@posi.net> Cc: Mike Meyer <mwm@mired.org>, current@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: etc/rc.d & things... Message-ID: <3969CB43.73363414@ocsny.com> References: <Pine.BSF.4.21.0007081814360.29324-100000@gateway.posi.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------B53A7CC8E2FAB667CEE56A53 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Kelly Yancey wrote: > 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... I like it. It's clean and simple, almost to the point of being elegant. But why bother adding rc?.d if you are going to right it to handle s or k then the present home should be fine, no? > > > 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 freebsd-current" in the body of the message -- Cheers, Mikel +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ | Optimized Computer Solutions, Inc http://www.ocsny.com | 39 W14th Street, Suite 203 212 727 2238 x132 | New York, NY 10011 +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ --------------B53A7CC8E2FAB667CEE56A53 Content-Type: text/x-vcard; charset=us-ascii; name="mikel.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Mikel Content-Disposition: attachment; filename="mikel.vcf" begin:vcard n:King;Mikel tel;fax:2124638402 tel;home:http://www.upan.org tel;work:2127272100 x-mozilla-html:TRUE org:Optimized Computer Solutions version:2.1 email;internet:mikel@ocsny.com title:Director of Network Operations & Technology adr;quoted-printable:;;39 W14th St.=0D=0ASte 203;New York;NY;10011;US note;quoted-printable:fBSD, PHP, MySql and OCS Rule!!!=0D=0A=0D=0AGoal is to be MS free by the end of 2k. x-mozilla-cpt:;7312 fn:Mikel King end:vcard --------------B53A7CC8E2FAB667CEE56A53-- 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?3969CB43.73363414>