diff options
author | Bill Nottingham <notting@redhat.com> | 2006-09-21 17:17:08 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2006-09-21 17:17:08 +0000 |
commit | 2ec4dc57fc2d5edb4e14bf7c757a68df8dcd5526 (patch) | |
tree | e503e67e5ba741b8455b7eb13b9080dbbf48f9e2 | |
parent | bd0731668e9e1ce1e9378596b00073a94632a375 (diff) | |
download | initscripts-2ec4dc57fc2d5edb4e14bf7c757a68df8dcd5526.tar initscripts-2ec4dc57fc2d5edb4e14bf7c757a68df8dcd5526.tar.gz initscripts-2ec4dc57fc2d5edb4e14bf7c757a68df8dcd5526.tar.bz2 initscripts-2ec4dc57fc2d5edb4e14bf7c757a68df8dcd5526.tar.xz initscripts-2ec4dc57fc2d5edb4e14bf7c757a68df8dcd5526.zip |
better check here (#190989, #110761)
-rwxr-xr-x | rc.d/rc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -50,7 +50,7 @@ for i in /etc/rc$runlevel.d/K* ; do || continue # Bring the subsystem down. - if LC_ALL=C egrep -q "(killproc |action )" $i ; then + if LC_ALL=C egrep -q "^..*init.d/functions" $i ; then $i stop else action $"Stopping $subsys: " $i stop @@ -78,7 +78,7 @@ for i in /etc/rc$runlevel.d/S* ; do export LC_ALL=C exec $i start fi - if LC_ALL=C egrep -q "(daemon |action |success |failure )" $i 2>/dev/null \ + if LC_ALL=C egrep -q "^..*init.d/functions" $i ; then || [ "$subsys" = "single" -o "$subsys" = "local" ]; then $i start else |