From owner-freebsd-current Tue Feb 16 06:59:55 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA27056 for freebsd-current-outgoing; Tue, 16 Feb 1999 06:59:55 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ns.tar.com (ns.tar.com [204.95.187.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA27051 for ; Tue, 16 Feb 1999 06:59:53 -0800 (PST) (envelope-from dick@ns.tar.com) Received: (from dick@localhost) by ns.tar.com (8.9.3/8.9.1) id IAA47409; Tue, 16 Feb 1999 08:59:50 -0600 (CST) (envelope-from dick) Date: Tue, 16 Feb 1999 08:59:50 -0600 From: "Richard Seaman, Jr." To: Luoqi Chen Cc: current@FreeBSD.ORG Subject: Re: /etc/defaults/rc.conf Message-ID: <19990216085950.D4805@tar.com> References: <199902161404.JAA19485@lor.watermarkgroup.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <199902161404.JAA19485@lor.watermarkgroup.com>; from Luoqi Chen on Tue, Feb 16, 1999 at 09:04:11AM -0500 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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