]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fcoe: add sleeps to fcoe-up
authorHarald Hoyer <harald@redhat.com>
Fri, 23 Jul 2010 10:20:32 +0000 (12:20 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 23 Jul 2010 10:20:32 +0000 (12:20 +0200)
modules.d/95fcoe/fcoe-up

index 9954e0a6bb339d1c91ea470fea31021be595620a..7a89e3ee58a5b2ad3576f6c79d81ceba95eac038 100755 (executable)
@@ -26,8 +26,12 @@ if [ "$dcb" = "dcb" ]; then
     # are to kill it and start a new lldpad to take over. Data is transfered
     # between the 2 using a shm segment
     lldpad -d
+    # stupid tools, need sleep
+    sleep 1
     dcbtool sc "$netif" dcb on
+    sleep 1
     dcbtool sc "$netif" app:fcoe e:1 a:1 w:1
+    sleep 1
     fipvlan "$netif" -c -s
 else
     echo -n "$netif" > /sys/module/fcoe/parameters/create