aboutsummaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2006-02-20 21:54:30 +0000
committerDoug Barton <dougb@FreeBSD.org>2006-02-20 21:54:30 +0000
commit2a723c89f849a00f8a8e4283fee9e3b18e74b299 (patch)
tree02005687908a65d182fa27ff2f277a1836ee8bcf /etc/rc
parent503b3ee763f51dcc3637ba3ee66d74bfb8a689be (diff)
Notes
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc7
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index ea7d502f01dc..ea8fe68e0616 100644
--- a/etc/rc
+++ b/etc/rc
@@ -73,7 +73,12 @@ echo "Loading configuration files."
load_rc_config 'XXX'
skip="-s nostart"
-[ `/sbin/sysctl -n security.jail.jailed` -eq 1 ] && skip="$skip -s nojail"
+if [ `/sbin/sysctl -n security.jail.jailed` -eq 1 ]; then
+ skip="$skip -s nojail"
+ if [ "$early_late_divider" = "mountcritlocal" ]; then
+ early_late_divider=NETWORKING
+ fi
+fi
# Do a first pass to get everything up to $early_late_divider so that
# we can do a second pass that includes $local_startup directories