Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 May 2004 02:12:20 +0200
From:      "Cyrille Lefevre" <clefevre-lists@9online.fr>
To:        "Patrick Tracanelli" <eksffa@freebsdbrasil.com.br>, <current@freebsd.org>
Cc:        ports@freebsd.org
Subject:   Re: /usr/local/etc/rc.conf
Message-ID:  <037501c446a3$f14549c0$7890a8c0@dyndns.org>
References:  <40B8A350.8000207@freebsdbrasil.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
"Patrick Tracanelli" <eksffa@freebsdbrasil.com.br> wrote:
[snip]
> Easy solution would be
>
> rc_conf_files="/etc/rc.conf /etc/rc.conf.local /usr/local/etc/rc.conf"
>
> into /etc/rc.conf, but it seems to be ignored by rc.subr when it's not
> at /etc/defaults/rc.conf;

just add the following line to the end of /etc/rc.conf.local after rc_conf_files
has been updated :

    source_rc_confs

already read rc.conf files will be ignored (/etc/rc.conf /etc/rc.conf.local)
and the others (/usr/local/etc/rc.conf) will be read.

Cyrille Lefevre.
-- 
home: mailto:cyrille.lefevre@laposte.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?037501c446a3$f14549c0$7890a8c0>