summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init6
1 files changed, 4 insertions, 2 deletions
diff --git a/init b/init
index 180ce84..f3c4e84 100644
--- a/init
+++ b/init
@@ -203,8 +203,10 @@ udevpid=$(/bin/pidof udevd)
if [ -n "${udevpid}" ]; then
# Settle pending uevents, then kill udev
/sbin/udevadm settle
- /bin/kill -9 ${udevpid} > /dev/null 2>&1
- /bin/sleep 0.01
+ /bin/kill ${udevpid} > /dev/null 2>&1
+ while /bin/pidof udevd >/dev/null; do
+ sleep 0.1
+ done
fi
umount /proc