projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6783be
)
99base/dracut-lib.sh: wait_for_if_up() extend wait time
author
Harald Hoyer
<harald@redhat.com>
Tue, 15 Nov 2011 08:43:16 +0000
(09:43 +0100)
committer
Harald Hoyer
<harald@redhat.com>
Tue, 15 Nov 2011 08:47:29 +0000
(09:47 +0100)
Some NICs take longer than 2 seconds to ifup. Wait a little bit longer
now (20s).
modules.d/99base/dracut-lib.sh
patch
|
blob
|
history
diff --git
a/modules.d/99base/dracut-lib.sh
b/modules.d/99base/dracut-lib.sh
index
cd10f12
..
3a31dc4
100755
(executable)
--- a/
modules.d/99base/dracut-lib.sh
+++ b/
modules.d/99base/dracut-lib.sh
@@
-382,7
+382,7
@@
ismounted() {
wait_for_if_up() {
local cnt=0
- while [ $cnt -lt 20 ]; do
+ while [ $cnt -lt 20
0
]; do
li=$(ip link show $1)
[ -z "${li##*state UP*}" ] && return 0
sleep 0.1