Excluding the EFI directory. Fixes #10

This commit is contained in:
2021-02-13 13:54:17 +01:00
parent d04a4e5151
commit 4b42d088eb
3 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@ case "$stat" in
;&
0|3)
# Then remove the signatures.
find /boot -name '*.sig' -exec rm {} +
find /boot -iname "efi" -prune -o -name '*.sig' -exec rm {} +
echo "GRUB2 unsigned. WARNING: If you want to deactivate GRUB2's signature feature, change the check_signatures variable in the headers file!"
exit 0