summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2011-06-19 15:23:32 +0000
committerjilles <jilles@FreeBSD.org>2011-06-19 15:23:32 +0000
commit7747419ea7d14237cc32a8888c87e2c8117294c8 (patch)
treec54fa1a9c90c67cc31527e9cbf1d62e0619484db /etc
parent92d29093280cc14ccdb91f166332c07fc3b2370a (diff)
downloadFreeBSD-src-7747419ea7d14237cc32a8888c87e2c8117294c8.zip
FreeBSD-src-7747419ea7d14237cc32a8888c87e2c8117294c8.tar.gz
rc.subr: Make sure all functions are under if [ -z "${_rc_subr_loaded}" ].
Diffstat (limited to 'etc')
-rw-r--r--etc/rc.subr4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.subr b/etc/rc.subr
index ec2b854..36cba6d 100644
--- a/etc/rc.subr
+++ b/etc/rc.subr
@@ -1732,8 +1732,6 @@ check_required_after()
return 0
}
-fi
-
# check_kern_features mib
# Return existence of kern.features.* sysctl MIB as true or
# false. The result will be cached in $_rc_cache_kern_features_
@@ -1775,4 +1773,6 @@ _echoonce()
esac
}
+fi # [ -z "${_rc_subr_loaded}" ]
+
_rc_subr_loaded=:
OpenPOWER on IntegriCloud