diff --git a/sbin/grub2-unsign b/sbin/grub2-unsign index e31471b..a6b1361 100644 --- a/sbin/grub2-unsign +++ b/sbin/grub2-unsign @@ -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