aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-08-22 16:34:50 +0200
committerThomas Bächler <thomas@archlinux.org>2010-09-07 22:38:04 +0200
commit8dfde2f793d5403313973216c0d192d6cf6f4def (patch)
tree17302ec5989bc3bdd3f6779cc0ca0df4cbdc59a7 /network
parentdc2eab4ef09c216deac86cb68b6834d8306ae545 (diff)
downloadinitscripts-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-xnetwork2
1 files changed, 1 insertions, 1 deletions
diff --git a/network b/network
index 20ff9c7..eac824e 100755
--- a/network
+++ b/network
@@ -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