From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 15:40:50 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D5AC16A4D0 for ; Wed, 11 Aug 2004 15:40:50 +0000 (GMT) Received: from internet.potentialtech.com (h-66-167-251-6.phlapafg.covad.net [66.167.251.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 300AE43D55 for ; Wed, 11 Aug 2004 15:40:50 +0000 (GMT) (envelope-from wmoran@potentialtech.com) Received: from working.potentialtech.com (pa-plum-cmts1e-68-68-113-64.pittpa.adelphia.net [68.68.113.64]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by internet.potentialtech.com (Postfix) with ESMTP id 38CE369A8C; Wed, 11 Aug 2004 11:40:49 -0400 (EDT) Date: Wed, 11 Aug 2004 11:40:48 -0400 From: Bill Moran To: Jerry McAllister Message-Id: <20040811114048.7a462f53.wmoran@potentialtech.com> In-Reply-To: <200408111527.i7BFRe205329@clunix.cl.msu.edu> References: <41193987.3060803@att.net> <200408111527.i7BFRe205329@clunix.cl.msu.edu> Organization: Potential Technologies X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: duanewinner@att.net cc: freebsd-questions@freebsd.org Subject: Re: order of starting services at boot? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2004 15:40:50 -0000 Jerry McAllister wrote: > > > > Hello, > > > > Can anybody explain to me how FreeBSD 5.2.1 controls the start order of > > the scripts in /etc/rc.d ? > > I think it is just "alphabetic" order according to whatever sort > order is in effect. But that _is_ how 4.X and previous version did it. But I think it's changed in 5.x. 5.x has a some new stuff built into rcng which allows you to specify dependencies so that (for example) your database application doesn't start until the database server is up and running. I don't know the details of how it works yet. It's on my TODO list to take some time to research it and understand the new features available, but I haven't got to it yet. Rhodes has apparently been busy, though, since there is a new section in the handbook on rcng: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-rcng.html -- Bill Moran Potential Technologies http://www.potentialtech.com