diff options
-rw-r--r-- | init | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |