From owner-freebsd-current Mon Feb 8 20:14:57 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA29887 for freebsd-current-outgoing; Mon, 8 Feb 1999 20:14:57 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from apollo.backplane.com (apollo.backplane.com [209.157.86.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA29881 for ; Mon, 8 Feb 1999 20:14:56 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.2/8.9.1) id UAA49929; Mon, 8 Feb 1999 20:14:55 -0800 (PST) (envelope-from dillon) Date: Mon, 8 Feb 1999 20:14:55 -0800 (PST) From: Matthew Dillon Message-Id: <199902090414.UAA49929@apollo.backplane.com> To: current@FreeBSD.ORG Subject: cleanup of rc.conf ( -4.x ) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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