Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Oct 2001 00:00:53 -0700 (PDT)
From:      Alan Char <alanchar@meer.net>
To:        edwin@mavetju.org
Cc:        questions@freebsd.org, support@freebsd.org
Subject:   Re: upgrading and /etc/rc
Message-ID:  <200110180700.f9I70rf03272@localhost.meer.net>
In-Reply-To: <20011018155053.Y2865@k7.mavetju.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi.  Thanks for the flip response.  My /etc/rc.conf has apparently been
inherited from older versions of FreeBSD since the installation process
by default does not overwrite it (except, recently, to sort its contents).
I have never edited /etc/rc.conf.  At any rate, even for comments, this
is a really bad idea.  Sorting shell scripts, even if they are just
settings, seems like a bad policy decision in general.  --Alan



Edwin Groothuis wrote:
> /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


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.


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?200110180700.f9I70rf03272>