21 lines
295 B
Bash
Executable File
21 lines
295 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# GPG support is optional
|
|
# called by dracut
|
|
check() {
|
|
require_binaries gpg || return 1
|
|
|
|
return 255
|
|
}
|
|
|
|
# called by dracut
|
|
depends() {
|
|
echo crypt
|
|
}
|
|
|
|
# called by dracut
|
|
install() {
|
|
inst_multiple gpg
|
|
inst "$moddir/crypt-gpg-lib.sh" "/lib/dracut-crypt-gpg-lib.sh"
|
|
}
|