diff options
author | dillon <dillon@FreeBSD.org> | 1999-01-26 07:36:20 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1999-01-26 07:36:20 +0000 |
commit | fb21652fb7dc70b07ad77a748973bf0eddc84270 (patch) | |
tree | d7be9ea99b89a14e3828b6b06fd52f875b3e15e9 | |
parent | 1f3fbd42ff69e8cf33874e7bb7e28a999b6ce1a1 (diff) | |
download | FreeBSD-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.
-rw-r--r-- | etc/rc.diskless | 4 |
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 |