99base/init.sh: kill systemd-udevd instead of udevd
authorHarald Hoyer <harald@redhat.com>
Mon, 4 Jun 2012 07:58:49 +0000 (09:58 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 4 Jun 2012 08:04:19 +0000 (10:04 +0200)
modules.d/99base/init.sh

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