mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-05 18:05:16 +00:00
The early-late divider was originally set to mountcritlocal. Since that
service does not run in jails, it was necessary to change it to something else when jailed, and NETWORKING was arbitrarily chosen. The divider was later moved to FILESYSTEMS when it was introduced, but the logic to change it to NETWORKING when jailed remained. Remove it, as it no longer serves any purpose. PR: 194975 MFC after: 1 week
This commit is contained in:
parent
e27961a496
commit
cd06771f0c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=275360
7
etc/rc
7
etc/rc
@ -69,19 +69,16 @@ fi
|
||||
# and to make the configuration file variables available to rc itself.
|
||||
#
|
||||
. /etc/rc.subr
|
||||
load_rc_config 'XXX'
|
||||
load_rc_config
|
||||
|
||||
# If we receive a SIGALRM, re-source /etc/rc.conf; this allows rc.d
|
||||
# scripts to perform "boot-time configuration" including enabling and
|
||||
# disabling rc.d scripts which appear later in the boot order.
|
||||
trap "_rc_conf_loaded=false; load_rc_config 'XXX'" ALRM
|
||||
trap "_rc_conf_loaded=false; load_rc_config" ALRM
|
||||
|
||||
skip="-s nostart"
|
||||
if [ `/sbin/sysctl -n security.jail.jailed` -eq 1 ]; then
|
||||
skip="$skip -s nojail"
|
||||
if [ "$early_late_divider" = "FILESYSTEMS" ]; then
|
||||
early_late_divider=NETWORKING
|
||||
fi
|
||||
if [ `/sbin/sysctl -n security.jail.vnet` -ne 1 ]; then
|
||||
skip="$skip -s nojailvnet"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user