diff options
author | Harald Hoyer <harald@redhat.com> | 2013-03-02 13:15:21 +0100 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-03-02 13:19:20 +0100 |
commit | f62f3a219112b6deb042b160b9009ab4dde79259 (patch) | |
tree | 37203062e9006b922eb133e355972e70d85359ae /modules.d/99base | |
parent | 389333396a3701df415fe5d554a42eee350f544c (diff) | |
download | dracut-f62f3a219112b6deb042b160b9009ab4dde79259.tar.gz dracut-f62f3a219112b6deb042b160b9009ab4dde79259.tar.bz2 dracut-f62f3a219112b6deb042b160b9009ab4dde79259.zip |
reset initqueue loop counter only if new uevents exist
Diffstat (limited to 'modules.d/99base')
-rwxr-xr-x | modules.d/99base/init.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/99base/init.sh b/modules.d/99base/init.sh index fe69b3e1..82adfe09 100755 --- a/modules.d/99base/init.sh +++ b/modules.d/99base/init.sh @@ -188,7 +188,7 @@ while :; do for job in $hookdir/initqueue/timeout/*.sh; do [ -e "$job" ] || break job=$job . $job - main_loop=0 + udevadm settle --timeout=0 >/dev/null 2>&1 || main_loop=0 done fi |