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.
|
# Then remove the signatures.
|
||||||
for i in `find /boot -name "*.sig"`
|
find /boot -name '*.sig' -exec rm -- '{}' +
|
||||||
do
|
|
||||||
rm $i
|
|
||||||
done
|
|
||||||
echo "GRUB2 unsigned. WARNING: If you want to deactivate GRUB2's signature feature, change the check_signatures variable in the headers file!"
|
echo "GRUB2 unsigned. WARNING: If you want to deactivate GRUB2's signature feature, change the check_signatures variable in the headers file!"
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user