File 0220-95fcoe-always-set-AUTO_VLAN-for-fcoemon.patch of Package dracut.12460

From fdbb581a9df74db58c306141aca24dc824e72dec Mon Sep 17 00:00:00 2001
From: Hannes Reinecke <hare@suse.de>
Date: Wed, 24 Aug 2016 12:26:04 +0200
Subject: [PATCH] 95fcoe: always set AUTO_VLAN for fcoemon

fcoemon is well capable of figuring out whether a vlan should
be used, so there's no need to disable the AUTO_VLAN feature.

References: bsc#995019

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

diff --git a/modules.d/95fcoe/fcoe-up.sh b/modules.d/95fcoe/fcoe-up.sh
index ffcc4e3..102f9d3 100755
--- a/modules.d/95fcoe/fcoe-up.sh
+++ b/modules.d/95fcoe/fcoe-up.sh
@@ -92,13 +92,8 @@ elif [ "$dcb" = "dcb" ]; then
     done
 
     sleep 1
-
-    write_fcoemon_cfg
-    fcoemon --syslog=yes
-else
-    vlan="no"
-    write_fcoemon_cfg
-    fcoemon --syslog=yes
 fi
+write_fcoemon_cfg
+fcoemon --syslog=yes
 
 need_shutdown
-- 
2.6.6

openSUSE Build Service is sponsored by