Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Mar 2000 16:36:32 -0600
From:      Chris Costello <chris@calldei.com>
To:        Jason <nordwick@scam.xcf.berkeley.edu>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: /etc/rc.firewall not reading /etc/rc.conf
Message-ID:  <20000320163632.H24374@holly.calldei.com>
In-Reply-To: <20000320223231.83832.qmail@scam.xcf.berkeley.edu>
References:  <20000320223231.83832.qmail@scam.xcf.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <chris@calldei.com>
|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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000320163632.H24374>