Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Feb 2011 14:51:24 +0100
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: Is /etc/rc.conf scriptable?
Message-ID:  <ii934s$bao$1@dough.gmane.org>
In-Reply-To: <20110201123506.GA97242@fbsd.t60.cpu>
References:  <20110201123506.GA97242@fbsd.t60.cpu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 01/02/2011 13:35, Yue Wu wrote:
> Hi list,
>
> I'm trying to do something to make rc.conf can act conditionally

Technically, yes it can be done, but you shouldn't. It is in essence a 
shell script as it is sourced by other shell scripts but that's only 
because that approach is easiest to implement. Other tools may read 
rc.conf and they could break if they find something unexpected there.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ii934s$bao$1>