Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Feb 1999 20:14:55 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        current@FreeBSD.ORG
Subject:   cleanup of rc.conf ( -4.x )
Message-ID:  <199902090414.UAA49929@apollo.backplane.com>

next in thread | raw e-mail | index | archive | help
    This does not make any operational change except to get rid
    of the $conf_dir junk from rc.conf, which I originally put 
    in to try to bootstrap rc.diskless.

    A much better way to do rc.diskless was suggested to me,
    which I'm going to implement.  It involves retargeting
    the /conf/ME softlink by mount_union'ing a small MFS 
    filesystem onto /conf.  Then one simply makes /etc/rc.conf.local
    a softlink to /conf/ME/rc.conf.local ( i.e. a sysop would do 
    that as an extra, we wouldn't distribute the base system 
    like that of course )

    In anycase, I've committed a new rc.conf that gets rid
    of $conf_dir, FYI, and am about to commit a new rc.diskless and
    new examples that uses the mount_union idea for retargeting
    during a diskless boot that will be much more straightward and
    obvious.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



rc_conf_files="/etc/rc.conf.site /etc/rc.conf.local"

...

##############################################################
### Allow local configuration override at the very end here ##
##############################################################
#
#

for i in ${rc_conf_files}; do
        if [ -f $i ]; then
                . $i
        fi
done



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



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