Well, I broke it! FreeBSD V8.1 release

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Wed Dec 22 21:09:05 UTC 2010

Jason Helfman <jhelfman at e-e.com> writes:

> On Wed, Dec 22, 2010 at 09:49:46AM -0500, Chris Brennan thus spake:
>>On Wed, Dec 22, 2010 at 8:07 AM, Bruce Cran <bruce at cran.org.uk> wrote:
>>> On Wed, 22 Dec 2010 11:01:10 -0000
>>> "Dave" <dave at g8kbv.demon.co.uk> wrote:
>>> > Sysinstall alows you to select and enable one, but not remove it!
>>> >
>>> > Bit of an oversight that I suspect....
>>> Fixed in r216651 :)
>>IIRC ';' isn't a valid bash comment ... (which has been previously discussed
>>elsewhere). It's usually safer to use '#' for  comment in /etc/rc.conf and
>>other system config files as they typically use BASH style structs.
> IMHO...
> It seems that /etc/rc.conf is in need of a sytax check script. Something
> similiar to visudo for editing /usr/local/etc/sudoers.

Well, rc.conf isn't supposed to have anything but variable settings, so
for syntax alone, "/bin/sh /etc/rc.conf" is a perfectly fine test.  If
you want to check semantics as well, things get complicated very quickly.

More information about the freebsd-questions mailing list