Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Feb 1999 23:13:48 -0700
From:      Lyndon Nerenberg <lyndon@execmail.ca>
To:        Parag Patel <parag@cgt.com>
Cc:        Mike Smith <mike@smith.net.au>, Andreas Klemm <andreas@klemm.gtn.com>, current@FreeBSD.ORG, Matthew Dillon <dillon@apollo.backplane.com>
Subject:   Re: some woes about rc.conf.site
Message-ID:  <EXECMAIL.990207231348.A@ht46l.execmail.ca>
In-Reply-To: <199902072245.OAA51371@pinhead.parag.codegen.com>
References:  <199902072245.OAA51371@pinhead.parag.codegen.com> Message from Matthew Dillon <dillon@apollo.backplane.com>    of "Sun, 07 Feb 1999 13:16:28 PST." <199902072116.NAA26516@apollo.backplane.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
--Part9902072313.B
Content-Type: Text/Plain; CHARSET="US-ASCII"; name="ipm.txt"
Content-Disposition: inline; filename="ipm.txt"


> Then why bother having rc.conf in the first place?  Just wire in all 
> the defaults straight into /etc/rc and leave rc.conf strictly for 
> overriding the defaults only, and eliminate rc.conf.* entirely.

Because rc.conf contains configuration variables, whereas rc contains 
commands to execute at boot time. The configuration information stored 
in rc.conf is applicable to more than just /etc/rc. Splitting out the 
configuration into a seperate file (rc.conf) means it can be sourced by
other utility scripts, such as /etc/rc.firewall. Sourcing /etc/rc to 
pick up config info would be a disaster.

And FWIW, I'm in favour of a read-only rc.conf with machine specific 
overrides in rc.conf.local. rc.conf.site should vanish.

--lyndon

--Part9902072313.B
Content-Type: Application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGPsdk version 1.5.2 (C) 1997-1998 Network Associates, Inc. and its affiliated companies.

iQA/AwUBNr6AnxvgRSChfsw2EQIxTACfXDRpIlJkYnDzN9aMqqEpGoxD0m0AoKYm
iBrZDVuazsNhmigkv8DTEwBx
=Z895
-----END PGP SIGNATURE-----

--Part9902072313.B--

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?EXECMAIL.990207231348.A>