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
/
97masterkey
/
module-setup.sh
blob
49b006e7e519d1eab6e72813843f631295fd6ae8
1
#!/bin/bash
2
3
# called by dracut
4
check
() {
5
[[
$hostonly
]] && {
6
require_binaries keyctl uname ||
return
1
7
}
8
9
return
255
10
}
11
12
# called by dracut
13
depends
() {
14
return
0
15
}
16
17
# called by dracut
18
installkernel
() {
19
instmods trusted encrypted
20
}
21
22
# called by dracut
23
install
() {
24
inst_multiple keyctl uname
25
inst_hook pre-pivot
60
"
$moddir
/masterkey.sh"
26
}