rc.conf variables required by ports

Jeremy Messenger mezz7 at cox.net
Thu Jul 24 14:49:09 PDT 2003


On Thu, 24 Jul 2003 15:34:15 -0600 (CST), Ryan Thompson <ryan at 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.


More information about the freebsd-ports mailing list