]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
network:wait_for_ipv6_auto() wait for all tentative addresses
authorHarald Hoyer <harald@redhat.com>
Thu, 30 Jun 2016 10:15:56 +0000 (12:15 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 1 Jul 2016 10:29:15 +0000 (12:29 +0200)
modules.d/40network/net-lib.sh

index 986c673ce790fbe831ce9efa4d59a04a3051b2a6..712019387001e2a4e9d8ad2a1427b477b6be96c6 100755 (executable)
@@ -677,7 +677,7 @@ wait_for_ipv6_auto() {
     timeout=$(($timeout*10))
 
     while [ $cnt -lt $timeout ]; do
-        [ -z "$(ip -6 addr show dev "$1" scope global tentative)" ] \
+        [ -z "$(ip -6 addr show dev "$1" tentative)" ] \
             && [ -n "$(ip -6 route list proto ra dev "$1")" ] \
             && return 0
         sleep 0.1