From owner-freebsd-current Tue Oct 24 1:40:53 2000 Delivered-To: freebsd-current@freebsd.org Received: from guru.mired.org (okc-27-149-77.mmcable.com [24.27.149.77]) by hub.freebsd.org (Postfix) with SMTP id 0AFFB37B479 for ; Tue, 24 Oct 2000 01:40:51 -0700 (PDT) Received: (qmail 45546 invoked by uid 100); 24 Oct 2000 08:40:50 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14837.19218.317368.924510@guru.mired.org> Date: Tue, 24 Oct 2000 03:40:50 -0500 (CDT) To: Garrett Rooney Cc: freebsd-current@FreeBSD.ORG Subject: Re: new rc.network6 and rc.firewall6 In-Reply-To: <20001023175332.B29365@electricjellyfish.net> References: <20001022153957.A4742@dragon.nuxi.com> <20001023175332.B29365@electricjellyfish.net> X-Mailer: VM 6.75 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Garrett Rooney writes: > On Tue, Oct 24, 2000 at 04:49:40AM +0700, Alexey Dokuchaev wrote: > > Well, would not be this stepping aside from BSD startup sequence, which we > > all know and love? Having dozens of small files instead of pair of > > big ones always frustrates me when I have to work with linux. > and at the very least, with a number of smaller files, assuming they're > named well, you can find what you're looking for faster, and not have > to dig though the one monolithic script to find out how sometihng is > working. Well, we *already* have over a dozen /etc/rc.* files on -current. And we *don't* have the advantage of a consistent interface to control all the functions in /etc/rc. If you break things up, then if you need to restart the mail server, just go "/etc/rc.d/sendmail restart". dhcpd? "/etc/rc.d/sendmail/dhcpd restart". Etc. Of course, for consistency ports should be tweaked to use have the same provides/requires setup, and use rc.subr instead of the homegrown hacks. Which brings up the real downside of doing this - you have to parse rc.subr and rc.conf for *every* one of those scripts.