]> 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>
Thu, 30 Mar 2017 09:34:51 +0000 (11:34 +0200)
(cherry picked from commit 13264563a9471844102113b7062534466d20ce38)

modules.d/40network/net-lib.sh

index 0c375c3f14d771d2faeff4c608b8e7ff45f5a900..129f8b25aa9607e4324b214c50df266819218365 100755 (executable)
@@ -669,7 +669,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