diff options
author | Thomas Bächler <thomas@archlinux.org> | 2010-02-07 10:55:34 +0100 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2010-02-07 10:55:34 +0100 |
commit | 3c6a2fab7e5a347d92bba152dca367fcbfabc3a6 (patch) | |
tree | 7264e38d25432b82d9b5dcaf32e1fff76a695b00 /init | |
parent | 6390dacd274faa6d960aa67d342a10a5388ef98f (diff) | |
download | mkinitcpio-3c6a2fab7e5a347d92bba152dca367fcbfabc3a6.tar.gz mkinitcpio-3c6a2fab7e5a347d92bba152dca367fcbfabc3a6.tar.xz |
Settle remaining uevents before killing udevd
Diffstat (limited to 'init')
-rw-r--r-- | init | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |