diff options
| author | Dima Dorfman <dd@FreeBSD.org> | 2002-10-02 00:59:14 +0000 |
|---|---|---|
| committer | Dima Dorfman <dd@FreeBSD.org> | 2002-10-02 00:59:14 +0000 |
| commit | 2ca85e3d5eec19e6a10d8b0a67f371263c433f22 (patch) | |
| tree | e8f07309beebbe0b2cd862bdc8592654f5403dd0 /etc | |
| parent | d427d1cc260bf83e2778332918c30484c6c8d8cd (diff) | |
Notes
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/rc | 7 | ||||
| -rw-r--r-- | etc/rc.d/initdiskless | 2 | ||||
| -rw-r--r-- | etc/rc.initdiskless | 2 |
3 files changed, 11 insertions, 0 deletions
@@ -88,6 +88,13 @@ 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 '' diff --git a/etc/rc.d/initdiskless b/etc/rc.d/initdiskless index 38fab7009ea6..672236500154 100644 --- a/etc/rc.d/initdiskless +++ b/etc/rc.d/initdiskless @@ -138,3 +138,5 @@ if [ ! -e /etc/resolv.conf ]; then echo nameserver $ns >> /etc/resolv.conf; done fi + +exit 2 # Tell /etc/rc to re-source rc.conf diff --git a/etc/rc.initdiskless b/etc/rc.initdiskless index 38fab7009ea6..672236500154 100644 --- a/etc/rc.initdiskless +++ b/etc/rc.initdiskless @@ -138,3 +138,5 @@ if [ ! -e /etc/resolv.conf ]; then echo nameserver $ns >> /etc/resolv.conf; done fi + +exit 2 # Tell /etc/rc to re-source rc.conf |
