dracut-systemd/dracut-initqueue: only start service if really needed
[dracut.git] / modules.d / 95fcoe-uefi / module-setup.sh
blob5d8477caf32be4ef4d5ec2c83369d610264f135c
1 #!/bin/bash
3 # called by dracut
4 check() {
5 [[ $hostonly ]] || [[ $mount_needs ]] && {
6 [ -d /sys/firmware/efi ] || return 255
8 require_binaries dcbtool fipvlan lldpad ip readlink || return 1
9 return 0
12 # called by dracut
13 depends() {
14 echo fcoe uefi-lib
15 return 0
18 # called by dracut
19 install() {
20 inst_hook cmdline 20 "$moddir/parse-uefifcoe.sh"