diff options
author | Florian Pritz <bluewind@xssn.at> | 2010-08-22 16:34:50 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2010-09-07 22:38:04 +0200 |
commit | 8dfde2f793d5403313973216c0d192d6cf6f4def (patch) | |
tree | 17302ec5989bc3bdd3f6779cc0ca0df4cbdc59a7 /network | |
parent | dc2eab4ef09c216deac86cb68b6834d8306ae545 (diff) | |
download | initscripts-8dfde2f793d5403313973216c0d192d6cf6f4def.tar.xz |
restrict NETWORK_PERSIST to runlevel 0 and 6
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'network')
-rwxr-xr-x | network | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -220,7 +220,7 @@ case "$1" in # exit #fi - if [[ $NETWORK_PERSIST =~ yes|YES ]]; then + if [[ $NETWORK_PERSIST =~ yes|YES && $RUNLEVEL == [06] ]]; then status "Skipping Network Shutdown" true exit 0 fi |