Date: Wed, 22 Dec 2010 16:08:54 -0500 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: freebsd-questions@freebsd.org Subject: Re: Well, I broke it! FreeBSD V8.1 release Message-ID: <44sjxpikgp.fsf@be-well.ilk.org> In-Reply-To: <20101222204558.GI92495@eggman.experts-exchange.com> (Jason Helfman's message of "Wed, 22 Dec 2010 12:45:59 -0800") References: <4D11DA76.32672.214EF771@dave.g8kbv.demon.co.uk> <20101222130711.00006546@unknown> <AANLkTim%2BCZDVeTzKu1nNmYru54ZQJGQhr3x5AJmeoY0j@mail.gmail.com> <20101222204558.GI92495@eggman.experts-exchange.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Jason Helfman <jhelfman@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@cran.org.uk> wrote: >> >>> On Wed, 22 Dec 2010 11:01:10 -0000 >>> "Dave" <dave@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44sjxpikgp.fsf>