/etc/rc.conf vs /etc/defaults/rc.conf

Andrew L. Gould algould at datawok.com
Mon Jan 12 14:35:01 PST 2004


On Monday 12 January 2004 04:18 pm, August Simonelli wrote:
> Hi all,
>
> I've looked in the handbook (and probably missed the explanation) but am
> still a little confused. What's the difference between these two rc.conf
> files? Both affect things, but what is best practice for their use?
>
> Thank in advance,
>
> August
>
> PS I'm using 4.9 and realize some things may be differnet in 5.x ...

/etc/defaults/rc.conf shows the default setttings of the system.  Any 
overrides you want should be done in /etc/rc.conf.

One of the reasons to make changes only in /etc/rc.conf is that /etc/defaults/
rc.conf may get overwritten when you update the system.

I hope this helps.

Andrew Gould



More information about the freebsd-questions mailing list