You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
374 B
26 lines
374 B
#!/bin/bash |
|
|
|
# called by dracut |
|
check() { |
|
[[ $hostonly ]] && { |
|
require_binaries keyctl uname || return 1 |
|
} |
|
|
|
return 255 |
|
} |
|
|
|
# called by dracut |
|
depends() { |
|
return 0 |
|
} |
|
|
|
# called by dracut |
|
installkernel() { |
|
instmods trusted encrypted |
|
} |
|
|
|
# called by dracut |
|
install() { |
|
inst_multiple keyctl uname |
|
inst_hook pre-pivot 60 "$moddir/masterkey.sh" |
|
}
|
|
|