Jason Helfman <jhelf...@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 <br...@cran.org.uk> wrote:
>>
>>> On Wed, 22 Dec 2010 11:01:10 -0000
>>> "Dave" <d...@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.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to