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
network: don't use "ifup -m"
[dracut.git]
/
modules.d
/
91crypt-gpg
/
module-setup.sh
blob
d328c04c5dea8b04654cc244eaf48759ecc73576
1
#!/bin/bash
2
3
# GPG support is optional
4
# called by dracut
5
check
() {
6
require_binaries gpg ||
return
1
7
8
return
255
9
}
10
11
# called by dracut
12
depends
() {
13
echo
crypt
14
}
15
16
# called by dracut
17
install
() {
18
inst_multiple gpg
19
inst
"
$moddir
/crypt-gpg-lib.sh"
"/lib/dracut-crypt-gpg-lib.sh"
20
}