Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Feb 1999 15:17:23 +0100
From:      sthaug@nethelp.no
To:        luoqi@watermarkgroup.com
Cc:        current@FreeBSD.ORG
Subject:   Re: /etc/defaults/rc.conf
Message-ID:  <14618.919174643@verdi.nethelp.no>
In-Reply-To: Your message of "Tue, 16 Feb 1999 09:04:11 -0500 (EST)"
References:  <199902161404.JAA19485@lor.watermarkgroup.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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

Check out the tail end of /etc/defaults/rc.conf - you'll find it sources
/etc/rc.conf (or /etc/rc.conf.local).

Steinar Haug, Nethelp consulting, sthaug@nethelp.no

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?14618.919174643>