From owner-freebsd-questions@FreeBSD.ORG Wed Dec 22 21:09:05 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BC221065679 for ; Wed, 22 Dec 2010 21:09:05 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.42]) by mx1.freebsd.org (Postfix) with ESMTP id 74F2C8FC26 for ; Wed, 22 Dec 2010 21:09:05 +0000 (UTC) Received: (qmail 31116 invoked from network); 22 Dec 2010 21:09:04 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 22 Dec 2010 21:09:04 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 9B1F95082F; Wed, 22 Dec 2010 16:08:54 -0500 (EST) From: Lowell Gilbert To: freebsd-questions@freebsd.org References: <4D11DA76.32672.214EF771@dave.g8kbv.demon.co.uk> <20101222130711.00006546@unknown> <20101222204558.GI92495@eggman.experts-exchange.com> Date: Wed, 22 Dec 2010 16:08:54 -0500 In-Reply-To: <20101222204558.GI92495@eggman.experts-exchange.com> (Jason Helfman's message of "Wed, 22 Dec 2010 12:45:59 -0800") Message-ID: <44sjxpikgp.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Well, I broke it! FreeBSD V8.1 release X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Dec 2010 21:09:05 -0000 Jason Helfman 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 wrote: >> >>> On Wed, 22 Dec 2010 11:01:10 -0000 >>> "Dave" 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.