summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1999-01-26 07:36:20 +0000
committerdillon <dillon@FreeBSD.org>1999-01-26 07:36:20 +0000
commitfb21652fb7dc70b07ad77a748973bf0eddc84270 (patch)
treed7be9ea99b89a14e3828b6b06fd52f875b3e15e9 /etc
parent1f3fbd42ff69e8cf33874e7bb7e28a999b6ce1a1 (diff)
downloadFreeBSD-src-fb21652fb7dc70b07ad77a748973bf0eddc84270.zip
FreeBSD-src-fb21652fb7dc70b07ad77a748973bf0eddc84270.tar.gz
Remove use of kern.conf_dir sysctl. conf_dir is left as a local
variable and propogates back to /etc/rc where it will be used to locate the rc.local file. The local variable will also be used by /etc/rc.conf. Note that /etc/rc.conf reverts to its prior operation of accessing /etc/rc.conf.local if run standalone.
Diffstat (limited to 'etc')
-rw-r--r--etc/rc.diskless4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.diskless b/etc/rc.diskless
index 3005966..2c8edab 100644
--- a/etc/rc.diskless
+++ b/etc/rc.diskless
@@ -55,11 +55,11 @@ bootp_ipa=`ifconfig $bootp_ifc | fgrep inet | head -1 | awk '{ print $2; }'`
echo "Interface $bootp_ifc IP-Address $bootp_ipa"
# retarget the configuration directory, where rc.conf.local and rc.local
-# are found. We set the directory to /conf/$bootp_ipa.
+# are found. We set the directory to /conf/$bootp_ipa. 'conf_dir' will
+# be used by rc.conf and later in /etc/rc.
#
conf_dir=/conf/$bootp_ipa
-sysctl -w kern.conf_dir=$conf_dir
sysctl -w kern.bootfile=$conf_dir/kernel
if [ ! -f $conf_dir/rc.conf.local ]; then
OpenPOWER on IntegriCloud