From owner-freebsd-current Mon Mar 20 14:37:44 2000 Delivered-To: freebsd-current@freebsd.org Received: from holly.calldei.com (adsl-208-191-146-189.dsl.hstntx.swbell.net [208.191.146.189]) by hub.freebsd.org (Postfix) with ESMTP id 0048837B98E for ; Mon, 20 Mar 2000 14:37:34 -0800 (PST) (envelope-from chris@holly.calldei.com) Received: (from chris@localhost) by holly.calldei.com (8.9.3/8.9.3) id QAA89406; Mon, 20 Mar 2000 16:36:33 -0600 (CST) (envelope-from chris) Date: Mon, 20 Mar 2000 16:36:32 -0600 From: Chris Costello To: Jason Cc: freebsd-current@FreeBSD.ORG Subject: Re: /etc/rc.firewall not reading /etc/rc.conf Message-ID: <20000320163632.H24374@holly.calldei.com> Reply-To: chris@calldei.com References: <20000320223231.83832.qmail@scam.xcf.berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/0.96.4i In-Reply-To: <20000320223231.83832.qmail@scam.xcf.berkeley.edu> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, March 20, 2000, Jason wrote: > Should /etc/rc.firewall be changed to read: > > # Suck in the configuration variables. > if [ -r /etc/defaults/rc.conf ]; then > . /etc/defaults/rc.conf > fi > if [ -r /etc/rc.conf ]; then > . /etc/rc.conf > fi No. See /etc/defaults/rc.conf: rc_conf_files="/etc/rc.conf /etc/rc.conf.local" and at the very bottom, for i in ${rc_conf_files}; do if [ -f $i ]; then . $i fi done So /etc/rc.conf is read in by /etc/defaults/rc.conf. -- |Chris Costello |I must have slipped a disk; my pack hurts. `------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message