a8b105
From db5fda123c2960e99cb29399bdedbd56d672c72d Mon Sep 17 00:00:00 2001
a8b105
From: Thomas Blume <Thomas.Blume@suse.com>
a8b105
Date: Mon, 24 Feb 2020 12:11:25 +0100
a8b105
Subject: [PATCH] 95fcoe: default rd.nofcoe to false
a8b105
a8b105
rd.nofcoe should default to false, e.g. fcoe should be enabled unless
a8b105
overwritten from the command line.
a8b105
The same applies for lldapd.sh.
a8b105
a8b105
(cherry picked from commit 8446c8f9deefcc6c47d96a128b1e9b23d8855a96)
a8b105
a8b105
Resolves: #1885621
a8b105
---
a8b105
 modules.d/95fcoe/lldpad.sh     | 2 +-
a8b105
 modules.d/95fcoe/parse-fcoe.sh | 2 +-
a8b105
 2 files changed, 2 insertions(+), 2 deletions(-)
a8b105
a8b105
diff --git a/modules.d/95fcoe/lldpad.sh b/modules.d/95fcoe/lldpad.sh
a8b105
index 444c943e..7faa2e19 100755
a8b105
--- a/modules.d/95fcoe/lldpad.sh
a8b105
+++ b/modules.d/95fcoe/lldpad.sh
a8b105
@@ -1,6 +1,6 @@
a8b105
 #!/bin/bash
a8b105
 
a8b105
-if ! getargbool 0 rd.nofcoe ; then
a8b105
+if getargbool 0 rd.nofcoe ; then
a8b105
 	info "rd.nofcoe=0: skipping lldpad activation"
a8b105
 	return 0
a8b105
 fi
a8b105
diff --git a/modules.d/95fcoe/parse-fcoe.sh b/modules.d/95fcoe/parse-fcoe.sh
a8b105
index 8bb55c6e..86f4331e 100755
a8b105
--- a/modules.d/95fcoe/parse-fcoe.sh
a8b105
+++ b/modules.d/95fcoe/parse-fcoe.sh
a8b105
@@ -13,7 +13,7 @@
a8b105
 # fcoe=eth0:nodcb:vn2vn
a8b105
 # fcoe=4a:3f:4c:04:f8:d7:nodcb:fabric
a8b105
 
a8b105
-if ! getargbool 0 rd.nofcoe ; then
a8b105
+if getargbool 0 rd.nofcoe ; then
a8b105
 	info "rd.nofcoe=0: skipping fcoe"
a8b105
 	return 0
a8b105
 fi
615967