init.sh: don't check for systemd-udevd in lower version branch

master
Harald Hoyer 2013-07-23 12:26:06 +02:00
parent 475f3a8128
commit bc6eae15ab
1 changed files with 2 additions and 2 deletions

View File

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