Date: Thu, 18 Oct 2001 15:50:53 +1000 From: Edwin Groothuis <edwin@mavetju.org> To: Alan Char <alanchar@meer.net> Cc: support@freebsd.org, questions@freebsd.org Subject: Re: upgrading and /etc/rc Message-ID: <20011018155053.Y2865@k7.mavetju.org> In-Reply-To: <200110180534.f9I5YTF03085@localhost.meer.net>; from alanchar@meer.net on Wed, Oct 17, 2001 at 10:01:44PM -0700 References: <200110180534.f9I5YTF03085@localhost.meer.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011018155053.Y2865>
