aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrc.d/rc3
1 files changed, 1 insertions, 2 deletions
diff --git a/rc.d/rc b/rc.d/rc
index 316751a4..0d1abd12 100755
--- a/rc.d/rc
+++ b/rc.d/rc
@@ -66,8 +66,7 @@ for i in /etc/rc$runlevel.d/K* ; do
# Check if the subsystem is already up.
subsys=${i#/etc/rc$runlevel.d/K??}
- [ -f /var/lock/subsys/$subsys ] || continue
- [ -f /var/lock/subsys/$subsys.init ] || continue
+ [ -f /var/lock/subsys/$subsys -o -f /var/lock/subsys/$subsys.init ] || continue
check_runlevel "$i" || continue
# Bring the subsystem down.