bnx2fc doesn't _actually_ need fcoemon, so fipvlan is sufficient
to start the FCoE connection.
And, in fact, fcoemon is started for every interface, causing
subsequent invocations to fail with
fcoemon[1157]: error 98 address already in use
and fcoemon tearing down the connection.
References: bsc#
1052840
Signed-off-by: Hannes Reinecke <hare@suse.com>
udevadm settle --timeout=30
# Sleep for 13 s to allow dcb negotiation
sleep 13
- write_fcoemon_cfg
- fcoemon $syslogopt
- fipvlan -c -s "$netif"
-elif [ "$dcb" = "dcb" ]; then
+ fipvlan "$netif" -c -s
+ need_shutdown
+ exit
+fi
+if [ "$dcb" = "dcb" ]; then
# wait for lldpad to be ready
i=0
while [ $i -lt 60 ]; do