From: Lukas Nykryn Date: Thu, 18 Feb 2021 10:01:31 +0000 (+0100) Subject: fix(fcoe): rd.nofcoe=0 should disable fcoe X-Git-Tag: 053~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=805b46c2a81e04d69fc3af912942568516d05ee7;p=thirdparty%2Fdracut.git fix(fcoe): rd.nofcoe=0 should disable fcoe 8446c8f9 Changed the default behavior, but also flipped meaning of 0/1. Right now rd.nofcoe=0 enables fcoe, which is the opposite what manpage says. --- diff --git a/modules.d/95fcoe/lldpad.sh b/modules.d/95fcoe/lldpad.sh index 7faa2e19d..6b1844b01 100755 --- a/modules.d/95fcoe/lldpad.sh +++ b/modules.d/95fcoe/lldpad.sh @@ -1,6 +1,6 @@ #!/bin/bash -if getargbool 0 rd.nofcoe ; then +if ! getargbool 1 rd.nofcoe ; then info "rd.nofcoe=0: skipping lldpad activation" return 0 fi diff --git a/modules.d/95fcoe/parse-fcoe.sh b/modules.d/95fcoe/parse-fcoe.sh index 86f4331e6..5553602f8 100755 --- a/modules.d/95fcoe/parse-fcoe.sh +++ b/modules.d/95fcoe/parse-fcoe.sh @@ -13,7 +13,7 @@ # fcoe=eth0:nodcb:vn2vn # fcoe=4a:3f:4c:04:f8:d7:nodcb:fabric -if getargbool 0 rd.nofcoe ; then +if ! getargbool 1 rd.nofcoe ; then info "rd.nofcoe=0: skipping fcoe" return 0 fi