From owner-freebsd-current Mon Mar 22 1:59: 0 1999 Delivered-To: freebsd-current@freebsd.org Received: from quackerjack.cc.vt.edu (quackerjack.cc.vt.edu [198.82.160.250]) by hub.freebsd.org (Postfix) with ESMTP id 9BFEC1513B for ; Mon, 22 Mar 1999 01:58:58 -0800 (PST) (envelope-from jobaldwi@vt.edu) Received: from sable.cc.vt.edu (sable.cc.vt.edu [128.173.16.30]) by quackerjack.cc.vt.edu (8.8.8/8.8.8) with ESMTP id EAA15430; Mon, 22 Mar 1999 04:58:31 -0500 (EST) Received: from john.baldwin.cx (jobaldwi.campus.vt.edu [198.82.67.63]) by sable.cc.vt.edu (8.8.8/8.8.8) with ESMTP id EAA25633; Mon, 22 Mar 1999 04:58:30 -0500 (EST) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Mon, 22 Mar 1999 04:58:29 -0500 (EST) From: John Baldwin To: Richard Wackerbarth Subject: Re: /etc/rc.conf, take 46! Cc: current@FreeBSD.ORG, "Jordan K. Hubbard" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 22-Mar-99 Richard Wackerbarth wrote: > There is a problem with this approach. > > /etc/defaults/rc.conf defines ${rc_conf_files} > However, I have no chance to override it before it is used. > > When I wrote my comment about "code" in rc.conf, I was > actually thinking about /etc/defaults/rc.conf and the > recursion loop that that creates when someone copies it to > /etc/rc.conf. > > You can, and IMHO should, make the defaults strictly variables. > > However, I fear that you need a bit more logic to allow the > overriding of ${rc_conf_files}. Where are going to override it? If we use some other config file that gets sucked in to /etc/defaults/rc.conf we'd have a config file included in another config file that tells it what other config files to include. If this keeps up we'll end up with a bunch of config files floating around that config other config files, which will end up messy and confusing for newbies, IMHO. > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message --- John Baldwin -- http://members.freedomnet.com/~jbaldwin/ PGP Key: http://members.freedomnet.com/~jbaldwin/pgpkey.asc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message