Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Feb 1999 08:59:50 -0600
From:      "Richard Seaman, Jr." <dick@tar.com>
To:        Luoqi Chen <luoqi@watermarkgroup.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: /etc/defaults/rc.conf
Message-ID:  <19990216085950.D4805@tar.com>
In-Reply-To: <199902161404.JAA19485@lor.watermarkgroup.com>; from Luoqi Chen on Tue, Feb 16, 1999 at 09:04:11AM -0500
References:  <199902161404.JAA19485@lor.watermarkgroup.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 16, 1999 at 09:04:11AM -0500, Luoqi Chen wrote:
> Initially I though /etc/defaults/rc.conf stored the default settings and then
> we could override some of the settings in /etc/rc.conf, but after a close
> look at how they are used in /etc/rc*, I am confused:
> 
> 	if [ -f /etc/defaults/rc.conf ]; then
> 		. /etc/defaults/rc.conf
> 	elif [ -f /etc/rc.conf ]; then
> 		. /etc/rc.conf
> 	fi
> 
> If I have a /etc/defaults/rc.conf, then my /etc/rc.conf won't be consulted.
> So what is the purpose of /etc/defaults/rc.conf?

Doesn't /etc/defaults/rc.conf pull in /etc/rc.conf ?  It appears to here.

-- 
Richard Seaman, Jr.           email: dick@tar.com
5182 N. Maple Lane            phone: 414-367-5450
Chenequa WI 53058             fax:   414-367-5852

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?19990216085950.D4805>