aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2002-03-17 08:38:03 +0000
committerDoug Barton <dougb@FreeBSD.org>2002-03-17 08:38:03 +0000
commitf7699dd6a423e1350f198b0e319e0d6d13ffcdbe (patch)
tree957551d248aa17ce8f89570375a387c7e7afcc7e /etc
parent0b132dc393fcaf4147226a2cf69346690fef14b5 (diff)
Notes
Diffstat (limited to 'etc')
-rw-r--r--etc/rc9
1 files changed, 8 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index da51c4340be8b..db41a8a9fa2ce 100644
--- a/etc/rc
+++ b/etc/rc
@@ -401,9 +401,10 @@ case ${swapfile} in
;;
esac
-# Set sysctl variables as early as we can
+# Early pass to set the variables we can
#
if [ -r /etc/rc.sysctl ]; then
+ echo 'Warnings here may be due to modules that have not been loaded yet'
. /etc/rc.sysctl
fi
@@ -914,6 +915,12 @@ if [ -n "${network_pass3_done}" ]; then
network_pass4
fi
+# Late pass to set variables we missed the first time
+#
+if [ -r /etc/rc.sysctl ]; then
+ . /etc/rc.sysctl
+fi
+
# Raise kernel security level. This should be done only after `fsck' has
# repaired local file systems if you want the securelevel to be greater than 1.
#