summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc14
1 files changed, 3 insertions, 11 deletions
diff --git a/etc/rc b/etc/rc
index 636fdbc..3a660e9 100644
--- a/etc/rc
+++ b/etc/rc
@@ -69,11 +69,10 @@ case ${rc_ng} in
[Yy][Ee][Ss])
. /etc/rc.subr
- # Load system configuration files. The 'XXX' is there because
- # the function requires an argument that we don't need to use.
+ # Note: the system configuration files are loaded as part of
+ # the RCNG system (rc.d/rccond). Do not load them here as it may
+ # interfere with diskless booting.
#
- load_rc_config 'XXX'
-
if [ "$1" = autoboot ]; then
autoboot=yes
_boot="faststart"
@@ -88,13 +87,6 @@ case ${rc_ng} in
for _rc_elem in ${files}; do
run_rc_script ${_rc_elem} ${_boot}
- # Local FreeBSD hack to reload the rc.conf on
- # a return status of 2
- if [ $? -eq 2 ]; then
- unset _rc_conf_loaded
- load_rc_config 'XXX'
- echo "Reloading rc.conf."
- fi
done
echo ''
OpenPOWER on IntegriCloud