Re: /usr/local/etc/rc.conf

From: Cyrille Lefevre (clefevre-lists_at_9online.fr)
Date: 05/31/04

  • Next message: Peter Schuller: "config/kernel version mismatch after cvsup"
    To: "Patrick Tracanelli" <eksffa@freebsdbrasil.com.br>, <current@freebsd.org>
    Date: Mon, 31 May 2004 02:12:20 +0200
    
    

    "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
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Peter Schuller: "config/kernel version mismatch after cvsup"

    Relevant Pages