Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2003 16:48:57 -0500
From:      Jeremy Messenger <mezz7@cox.net>
To:        Ryan Thompson <ryan@sasknow.com>
Cc:        ports@freebsd.org
Subject:   Re: rc.conf variables required by ports
Message-ID:  <oprst37vat8ckrg5@smtp.central.cox.net>
In-Reply-To: <20030724151823.T620@stimpy.sasknow.net>
References:  <20030724151823.T620@stimpy.sasknow.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 24 Jul 2003 15:34:15 -0600 (CST), Ryan Thompson <ryan@sasknow.com> 
wrote:

>
> Hi all,
>
> Installation of the Linux base system is finished. The Linux kernel
> mode, which must be enabled for Linux binaries to run, is now
> enabled. Linux mode can be enabled permanently with the linux_enable
> variable of rc.conf(5).
>
> Since it would be so trivial, is there a good reason why we don't
> automate (echo "linux_enable=\"YES\"" >> /etc/rc.conf), and similar
> additions from other ports? Checking a few other ports, none of them
> that I found do this either...

When, you are doing the upgrade often and you find out that you have 10 
lines of 'linux_enable="YES"' in the /etc/rc.conf. You will need to do 
something different to check if it exists then don't add it. My thought, 
the ports shouldn't touch the system configure by automatic, unless you are 
told them to.

Cheers,
Mezz

> Maybe there's a general principle I'm missing... :-)
>
> - Ryan


-- 
bsdforums.org 's moderator, mezz.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?oprst37vat8ckrg5>