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