mirror of
https://github.com/Bandie/grub2-signing-extension.git
synced 2024-04-01 15:51:26 +00:00
Usage of shred instead of rm
This commit is contained in:
@ -21,7 +21,7 @@ case "$stat" in
|
||||
;&
|
||||
0|3)
|
||||
# Then remove the signatures.
|
||||
find /boot -iname "efi" -prune -o -name '*.sig' -exec rm {} +
|
||||
find /boot -iname "efi" -prune -o -name '*.sig' -exec shred --remove=unlink {} +
|
||||
|
||||
echo "GRUB2 unsigned. WARNING: If you want to deactivate GRUB2's signature feature, change the check_signatures variable in the headers file!"
|
||||
exit 0
|
||||
|
Reference in New Issue
Block a user