Skip to content

Commit

Permalink
95fcoe: default rd.nofcoe to false
Browse files Browse the repository at this point in the history
rd.nofcoe should default to false, e.g. fcoe should be enabled unless
overwritten from the command line.
The same applies for lldapd.sh.
  • Loading branch information
tblume authored and danimo committed Mar 11, 2020
1 parent 7fb8f93 commit 8446c8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules.d/95fcoe/lldpad.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

if ! getargbool 0 rd.nofcoe ; then
if getargbool 0 rd.nofcoe ; then
info "rd.nofcoe=0: skipping lldpad activation"
return 0
fi
Expand Down
2 changes: 1 addition & 1 deletion modules.d/95fcoe/parse-fcoe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 0 rd.nofcoe ; then
info "rd.nofcoe=0: skipping fcoe"
return 0
fi
Expand Down

0 comments on commit 8446c8f

Please sign in to comment.