Browse Source

Merge pull request #326 from danimo/no_efi_fcoe_default

fcoe-uefi: Add check for usage
master
Harald Hoyer 7 years ago committed by GitHub
parent
commit
dfbbb0baf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      modules.d/95fcoe-uefi/module-setup.sh

5
modules.d/95fcoe-uefi/module-setup.sh

@ -12,6 +12,11 @@ check() { @@ -12,6 +12,11 @@ check() {
}
[[ $hostonly ]] || [[ $mount_needs ]] && {
[ -d /sys/firmware/efi ] || return 255
for c in /sys/bus/fcoe/devices/ctlr_* ; do
[ -L $c ] || continue
fcoe_ctlr=$c
done
[ -z "$fcoe_ctlr" ] && return 255
}
require_binaries dcbtool fipvlan lldpad ip readlink || return 1
return 0

Loading…
Cancel
Save