mirror of
https://github.com/Bandie/grub2-signing-extension.git
synced 2024-04-01 15:51:26 +00:00
Make rm more safe.
This commit is contained in:
parent
25111c2ee5
commit
cc5618ac7f
@ -14,9 +14,7 @@ fi
|
||||
|
||||
|
||||
# Then remove the signatures.
|
||||
for i in `find /boot -name "*.sig"`
|
||||
do
|
||||
rm $i
|
||||
done
|
||||
find /boot -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
|
||||
|
Loading…
Reference in New Issue
Block a user