diff options
author | Thomas Bächler <thomas@archlinux.org> | 2010-06-09 20:06:02 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2010-06-09 20:06:02 +0200 |
commit | 0937312b298e8604e12bbc3c8ab3bbfa89914be2 (patch) | |
tree | 7e66bd1d596675baad51e7625904fcd427b14e7c /network | |
parent | 3228db8a5fc703579250b7656bf5ea4c876aa099 (diff) |
network, rc.conf: Add NETWORK_PERSIST option2010.06-2
Setting NETWORK_PERSIST="yes" will skip network shutdown. This
is needed to cleanly halt or reboot the systemif your root device
is on NFS. It does not affect network profiles.
Diffstat (limited to 'network')
-rwxr-xr-x | network | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -233,6 +233,11 @@ case "$1" in # exit #fi + if [ "${NETWORK_PERSIST}" = "yes" -o "${NETWORK_PERSIST}" = "YES" ]; then + status "Skipping Network Shutdown" true + exit 0 + fi + stat_busy "Stopping Network" rm_daemon network error=0 |