aboutsummaryrefslogtreecommitdiff
path: root/rc.shutdown
diff options
context:
space:
mode:
Diffstat (limited to 'rc.shutdown')
-rwxr-xr-xrc.shutdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.shutdown b/rc.shutdown
index ae7f9d0..c0f9655 100755
--- a/rc.shutdown
+++ b/rc.shutdown
@@ -12,7 +12,7 @@
echo -n "[ Shutting Down "
echo " ]"
-if [ "$PREVLEVEL" = "2" ]; then
+if [ "$PREVLEVEL" = "3" -o "$PREVLEVEL" = "5" ]; then
# Shutdown daemons
if [ -d /var/run/daemons ]; then
for daemon in `ls /var/run/daemons`; do