Make rm more safe.

This commit is contained in:
Bandie Yip Kojote 2015-12-29 21:26:53 +01:00
parent 25111c2ee5
commit cc5618ac7f

View File

@ -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