fcoe/module-setup.sh: check() for needed tools
parent
53fe81e752
commit
2cf987f5c3
|
|
@ -8,6 +8,10 @@ check() {
|
|||
# knowing we are booting from FCoE
|
||||
[[ $hostonly ]] || [[ $mount_needs ]] && return 1
|
||||
|
||||
for i in dcbtool fipvlan lldpad ip readlink; do
|
||||
type -P $i >/dev/null || return 1
|
||||
done
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue