repo.or.cz
/
dracut.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
dracut-systemd/dracut-initqueue: only start service if really needed
[dracut.git]
/
modules.d
/
95fcoe-uefi
/
module-setup.sh
blob
5d8477caf32be4ef4d5ec2c83369d610264f135c
1
#!/bin/bash
2
3
# called by dracut
4
check
() {
5
[[
$hostonly
]]
||
[[
$mount_needs
]] && {
6
[
-d
/
sys
/
firmware
/
efi
]
||
return
255
7
}
8
require_binaries dcbtool fipvlan lldpad ip readlink ||
return
1
9
return
0
10
}
11
12
# called by dracut
13
depends
() {
14
echo
fcoe uefi-lib
15
return
0
16
}
17
18
# called by dracut
19
install
() {
20
inst_hook cmdline
20
"
$moddir
/parse-uefifcoe.sh"
21
}