summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--init2
1 files changed, 2 insertions, 0 deletions
diff --git a/init b/init
index 508c473..cfa6c75 100644
--- a/init
+++ b/init
@@ -103,6 +103,8 @@ fi
#Special handling if udev is running
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
fi