From owner-freebsd-questions Wed Oct 17 22:51:30 2001 Delivered-To: freebsd-questions@freebsd.org Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id DCA5937B401; Wed, 17 Oct 2001 22:51:27 -0700 (PDT) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id 56F6C2B697; Thu, 18 Oct 2001 07:51:16 +0200 (CEST) Received: by k7.mavetju.org (Postfix, from userid 1001) id 54F16183; Thu, 18 Oct 2001 15:50:53 +1000 (EST) Date: Thu, 18 Oct 2001 15:50:53 +1000 From: Edwin Groothuis To: Alan Char Cc: support@freebsd.org, questions@freebsd.org Subject: Re: upgrading and /etc/rc Message-ID: <20011018155053.Y2865@k7.mavetju.org> References: <200110180534.f9I5YTF03085@localhost.meer.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200110180534.f9I5YTF03085@localhost.meer.net>; from alanchar@meer.net on Wed, Oct 17, 2001 at 10:01:44PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Oct 17, 2001 at 10:01:44PM -0700, Alan Char wrote: > Hi. I upgraded from 4.3 to 4.4 today, and somehow in the process, > the /etc/rc.conf file got sorted. This also happened when I upgraded > from 4.2 to 4.3. Unfortunately, /etc/rc.conf has a little if-block > at the end to run /etc/rc.local, and after it sorting it creates a > syntax error. Doesn't do much for making comments useful, either. > Is there a way to turn off this "feature"? Thanks. /etc/rc.conf should only be a configuration file, not a real script. /etc/rc.local is run via /etc/rc. man rc.conf says: The purpose of rc.conf is not to run commands or perform system startup actions directly. Instead, it is included by the various generic startup scripts in /etc which conditionalize their internal actions according to the settings found there. So please don't :-) Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message