summaryrefslogtreecommitdiff
path: root/modules.d/99base
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-03-02 13:15:21 +0100
committerHarald Hoyer <harald@redhat.com>2013-03-02 13:19:20 +0100
commitf62f3a219112b6deb042b160b9009ab4dde79259 (patch)
tree37203062e9006b922eb133e355972e70d85359ae /modules.d/99base
parent389333396a3701df415fe5d554a42eee350f544c (diff)
downloaddracut-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-xmodules.d/99base/init.sh2
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