]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fcoe/fcoe-up: sleep for 3s to allow dcb negotiation
authorHarald Hoyer <harald@redhat.com>
Thu, 11 Oct 2012 11:14:13 +0000 (13:14 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 16 Oct 2012 11:25:10 +0000 (13:25 +0200)
https://bugzilla.redhat.com/show_bug.cgi?id=813057

modules.d/95fcoe/fcoe-up.sh

index 1e1bcf5c22043537181dd56dde04a527dcd3a75c..d808dd5f4f479a3a38427f727bdba6180ed15d5a 100755 (executable)
@@ -42,6 +42,8 @@ elif [ "$netdriver" = "bnx2x" ]; then
     # If driver is bnx2x, do not use /sys/module/fcoe/parameters/create but fipvlan
     modprobe 8021q
     udevadm settle --timeout=30
+    # Sleep for 3 s to allow dcb negotiation
+    sleep 3
     fipvlan "$netif" -c -s
 else
     echo -n "$netif" > /sys/module/fcoe/parameters/create