From owner-freebsd-current Mon Jul 10 10:48: 7 2000 Delivered-To: freebsd-current@freebsd.org Received: from apollo.ocsny.com (apollo.ocsny.com [204.107.76.2]) by hub.freebsd.org (Postfix) with ESMTP id 09BE437B68B for ; Mon, 10 Jul 2000 10:48:01 -0700 (PDT) (envelope-from mikel@ocsny.com) Received: from ocsny.com (thoth.upan.org [204.107.76.16]) by apollo.ocsny.com (8.9.2/8.9.3) with ESMTP id NAA14514; Mon, 10 Jul 2000 13:46:52 -0400 (EDT) Message-ID: <396A0D70.1B007DDE@ocsny.com> Date: Mon, 10 Jul 2000 13:52:48 -0400 From: Mikel Organization: Optimized Computer Solutions, Inc. X-Mailer: Mozilla 4.73 [en] (Win98; U) X-Accept-Language: en,it MIME-Version: 1.0 To: Johan Granlund Cc: Kelly Yancey , Mike Meyer , current@FreeBSD.ORG Subject: Re: etc/rc.d & things... References: Content-Type: multipart/mixed; boundary="------------E9B29B2B76BE951244D5E69C" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------E9B29B2B76BE951244D5E69C Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Johan, I quite agree that in the simple but better approach of rc.conf (BSD). However I like the idea of a configurable, directory driven approach to the shutdown. I would be apposed to sysV style rc.d's as I really don't think they provide anything but confusion. At the ISP where I work the BSD model is far easier to maintain. Personally far easier than the solaris, hp-ux, and linux machines we've had in the past.... Johan Granlund wrote: > Please Please Please _Dont_!!! > > I dont know if someone is yoking, my english is not up to that :( > > I tried to secure a Solaris machine and hated the whole setup. I't have > some good things but i take the simple rc.conf mechanism every time! > > /Johan > > On Mon, 10 Jul 2000, Mikel wrote: > > > > > > > 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 > > +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ > > > > -- Cheers, Mikel +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ | Optimized Computer Solutions, Inc http://www.ocsny.com | 39 W14th Street, Suite 203 212 727 2238 x132 | New York, NY 10011 +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ --------------E9B29B2B76BE951244D5E69C 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 --------------E9B29B2B76BE951244D5E69C-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message