summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/rc.subr6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/rc.subr b/etc/rc.subr
index 349daee..ffbf81a 100644
--- a/etc/rc.subr
+++ b/etc/rc.subr
@@ -43,6 +43,10 @@
# Operating System dependent/independent variables
#
+if [ -z "${_rc_subr_loaded}" ]; then
+
+_rc_subr_loaded="YES"
+
SYSCTL="/sbin/sysctl"
SYSCTL_N="${SYSCTL} -n"
CMD_OSTYPE="${SYSCTL_N} kern.ostype"
@@ -1286,3 +1290,5 @@ mount_md() {
fi
/sbin/mdmfs $bpi -s $1 -M md $2
}
+
+fi
OpenPOWER on IntegriCloud