Browse Source

dracut-lib: fixed wait_for_if_up()

master
Harald Hoyer 16 years ago
parent
commit
b26260a0b9
  1. 2
      modules.d/99base/dracut-lib.sh

2
modules.d/99base/dracut-lib.sh

@ -158,7 +158,7 @@ wait_for_if_up() { @@ -158,7 +158,7 @@ wait_for_if_up() {
li=$(ip link show $1)
[ -z "${li##*state UP*}" ] && return 0
sleep 0.1
cnt=$[cnt+1]
cnt=$(($cnt+1))
done
return 1
}

Loading…
Cancel
Save