From owner-freebsd-current Mon Jul 10 6:55:40 2000 Delivered-To: freebsd-current@freebsd.org Received: from daemon.solid.se (daemon.solid.se [193.15.190.194]) by hub.freebsd.org (Postfix) with ESMTP id 5B7D137BBF6 for ; Mon, 10 Jul 2000 06:55:25 -0700 (PDT) (envelope-from johan@granlund.nu) Received: from phoenix.granlund.nu (t3o90p90.telia.com [195.67.217.90]) (authenticated) by daemon.solid.se (8.10.1/8.10.1) with ESMTP id e6ADtLm18972; Mon, 10 Jul 2000 15:55:21 +0200 (CEST) Received: from localhost (johan@localhost) by phoenix.granlund.nu (8.10.1/8.10.1) with ESMTP id e6ADtGR03936; Mon, 10 Jul 2000 15:55:18 +0200 (CEST) Date: Mon, 10 Jul 2000 15:55:16 +0200 (CEST) From: Johan Granlund To: Mikel Cc: Kelly Yancey , Mike Meyer , current@FreeBSD.ORG Subject: Re: etc/rc.d & things... In-Reply-To: <3969CB43.73363414@ocsny.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 > +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message