From owner-freebsd-current Tue Oct 24 15:18:30 2000 Delivered-To: freebsd-current@freebsd.org Received: from bilver.wjv.com (dhcp-1-89.n01.orldfl01.us.ra.verio.net [157.238.210.89]) by hub.freebsd.org (Postfix) with ESMTP id 8AEB937B479 for ; Tue, 24 Oct 2000 15:18:25 -0700 (PDT) Received: (from bill@localhost) by bilver.wjv.com (8.9.3/8.9.3) id SAA02438 for freebsd-current@freebsd.org; Tue, 24 Oct 2000 18:18:23 -0400 (EDT) (envelope-from bill) Date: Tue, 24 Oct 2000 18:17:56 -0400 From: Bill Vermillion To: freebsd-current@freebsd.org Subject: Re: new rc.network6 and rc.firewall6 Message-ID: <20001024181756.A2407@wjv.com> Reply-To: bv@bilver.wjv.com References: <21384.972424688@winston.osd.bsdi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <21384.972424688@winston.osd.bsdi.com>; from jkh@winston.osd.bsdi.com on Tue, Oct 24, 2000 at 02:58:08PM -0700 Organization: W.J.Vermillion / Orlando - Winter Park Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Oct 24, 2000 at 02:58:08PM -0700, Jordan Hubbard thus spoke: > > The scripts themselves have the ordering dependencies. The startup > > system runs them in the proper order. I don't know if this is > > pre-computed or redone each boot. > I'm really curious about this, myself. One of the reasons the SYSV > scripts have the numeric prefix is so that you know exactly what order > things will be started in. With the NetBSD stuff, this is not > immediately obvious though I guess one could have a top level rc file > with an explicit ordering similar to our various subdir Makefiles, > but that also gives you another location to edit when dropping > in a new startup file. This was my thought also. I put the TCP/IP scripts at 99 to make sure that any slow network initialization is done. Since they all start with S - for example S99tcp - moving it to s99tcp will keep it from starting, and the Knn in the same directory is used to stop things when moving from that run level. It's one of the things I like about the Sys V /etc/rc.d directory structure, as you can easily fine tune it to fit your needs. Just a look at the files and you know the order. Bill -- Bill Vermillion - bv @ wjv . com -- Bill Vermillion - bv @ wjv . com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message