File 0225-95fcoe-do-not-start-fcoemon-twice.patch of Package dracut.15235

From 6e779051fd7ac96cf7db758df3ffe240ae3f8880 Mon Sep 17 00:00:00 2001
From: Hannes Reinecke <hare@suse.de>
Date: Tue, 27 Sep 2016 16:38:36 +0200
Subject: [PATCH] 95fcoe: do not start fcoemon twice

With the latest changes to fcoe the fcoemon got started twice for
bnx2 installations.

References: bsc#1001512

Signed-off-by: Hannes Reinecke <hare@suse.com>
---
 modules.d/95fcoe/fcoe-up.sh | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/modules.d/95fcoe/fcoe-up.sh b/modules.d/95fcoe/fcoe-up.sh
index 102f9d3..74bdf81 100755
--- a/modules.d/95fcoe/fcoe-up.sh
+++ b/modules.d/95fcoe/fcoe-up.sh
@@ -57,9 +57,6 @@ if [ "$netdriver" = "bnx2x" ]; then
     udevadm settle --timeout=30
     # Sleep for 3 s to allow dcb negotiation
     sleep 3
-    write_fcoemon_cfg
-    fcoemon --syslog=yes
-    fipvlan -c -s "$netif"
 elif [ "$dcb" = "dcb" ]; then
     # wait for lldpad to be ready
     i=0
-- 
2.6.6

openSUSE Build Service is sponsored by