Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2006 09:45:45 +0200
From:      Jonathan McKeown <jonathan@hst.org.za>
To:        freebsd-questions@freebsd.org
Subject:   Re: include format for /etc/rc.conf
Message-ID:  <200608300945.45648.jonathan@hst.org.za>
In-Reply-To: <20060830033859.R53222@prime.gushi.org>
References:  <20060830033859.R53222@prime.gushi.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 30 August 2006 09:40, Dan Mahoney, System Admin wrote:
> Hey all,
>
> Are there any supported formats for INCLUDES in /etc/rc.conf such that I
> can drop default configs into /etc/rc.conf and then have files in a
> certain directory (ala includerc) override them?  Basically, I'd like to
> do mass-updates of several dozen machines' configs normally found in
> /etc/rc.conf, but then have per-machine configs (like hostnames)
> elsewhere.

Look at rc_conf_files (man rc.conf).

By default there are three ``levels'' of config:

/etc/defaults/rc.conf
/etc/rc.conf
/etc/rc.conf.local

each one overriding the previous one.

Jonathan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608300945.45648.jonathan>