95fcoe/fcoe-up: wait_for_if_up
authorHarald Hoyer <harald@redhat.com>
Wed, 19 May 2010 07:36:11 +0000 (09:36 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 19 May 2010 07:36:11 +0000 (09:36 +0200)
modules.d/95fcoe/fcoe-up

index bd6294a..47a7e8d 100755 (executable)
@@ -15,6 +15,8 @@ netif=$1
 dcb=$2
 
 /sbin/ip link set "$netif" up
+wait_for_if_up "$netif"
+
 if [ "$dcb" = "dcb" ]; then
     # Note lldpad will stay running after switchroot, the system initscripts
     # are to kill it and start a new lldpad to take over. Data is transfered