99base/init.sh: kill systemd-udevd instead of udevd

master
Harald Hoyer 2012-06-04 09:58:49 +02:00
parent b35ff065ec
commit ecc6da6bf5
1 changed files with 2 additions and 2 deletions

View File

@ -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"