blob: 7153f535d954dcba0dacd3a562067edb9fdb3f68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/bash
build() {
source /etc/checkboot-efi.conf
add_module "vfat"
add_file "${CHECKSUM_FILE}"
add_file "/etc/checkboot-efi.conf"
add_runscript
}
help() {
cat <<HELPEOF
A hook that will verify the integrity of any efi files in your efi partition.
This is only useful if both your boot and root partition is encrypted and lacks
any purpose on non-efi systems.
The hook must be added before the encrypt hook.
HELPEOF
}
|