Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Oct 2012 10:57:42 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Trond =?ISO-8859-1?Q?Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
Cc:        freebsd-questions@freebsd.org, Ashkan Rahmani <ashkan82r@gmail.com>
Subject:   Re: rc.conf and loader.conf
Message-ID:  <20121026105742.c84d7de9.freebsd@edvax.de>
In-Reply-To: <alpine.BSF.2.00.1210260733280.26470@mail.fig.ol.no>
References:  <CAFBRBcojBEMRrUudkd8SZYF8Qro_v_j8toT%2B1%2Bc=rznpiY8Wxg@mail.gmail.com> <alpine.BSF.2.00.1210260733280.26470@mail.fig.ol.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 26 Oct 2012 07:37:09 +0200 (CEST), Trond Endrest=F8l wrote:
> However, I like to keep the lines in the /etc/rc.conf file in the same=20
> order as they appear in the /etc/defaults/rc.conf file, and place=20
> local stuff (from /usr/local/etc/rc.d) in alphabetical order at the=20
> bottom of the file.

Slight deviation: I tend to group settings according to their
functionality (network, server stuff, console settings etc.),
and also have local additions at the end of the file. However,
FreeBSD also supports rc.conf.local to keep them.

The rc.conf file can be seen as a shell script, containing
variable assignments. It is that simple. It implies that you
can arrange everything (with newlines, comments, in groups,
as you wish) as long as it is valid shell syntax.



--=20
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



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