mirror of
https://github.com/dracutdevs/dracut.git
synced 2024-10-26 16:25:20 +03:00
fcoe/module-setup.sh: check() for needed tools
This commit is contained in:
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
Block a user