init.sh: don't check for systemd-udevd in lower version branch
authorHarald Hoyer <harald@redhat.com>
Tue, 23 Jul 2013 10:26:06 +0000 (12:26 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 23 Jul 2013 10:26:06 +0000 (12:26 +0200)
modules.d/99base/init.sh

index f228a3a..34be478 100755 (executable)
@@ -278,8 +278,8 @@ if [ $UDEVVERSION -lt 168 ]; then
     udevadm control --stop-exec-queue
 
     HARD=""
-    while pidof systemd-udevd >/dev/null 2>&1; do
-        for pid in $(pidof systemd-udevd); do
+    while pidof udevd >/dev/null 2>&1; do
+        for pid in $(pidof udevd); do
             kill $HARD $pid >/dev/null 2>&1
         done
         HARD="-9"