aboutsummaryrefslogtreecommitdiff
path: root/libexec/rc/rc
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/rc/rc')
-rw-r--r--libexec/rc/rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libexec/rc/rc b/libexec/rc/rc
index 69edcf4ac9ff..35db4a850516 100644
--- a/libexec/rc/rc
+++ b/libexec/rc/rc
@@ -59,6 +59,8 @@ else
_boot="quietstart"
fi
+_localbase=`/sbin/sysctl -n user.localbase 2> /dev/null`
+
dlv=`/sbin/sysctl -n vfs.nfs.diskless_valid 2> /dev/null`
if [ ${dlv:=0} -ne 0 -o -f /etc/diskless ]; then
sh /etc/rc.initdiskless