First commit and release.

This commit is contained in:
Bandie Kojote
2015-03-16 20:38:36 +01:00
commit 89131845f1
6 changed files with 887 additions and 0 deletions

17
sbin/grub2-unsign Normal file
View File

@ -0,0 +1,17 @@
#!/bin/bash
# grub2-unsign
# Unsigns every file in /boot. Depends on grub2-verify
# Author: Bandie Kojote
# Licence: GNU-GPLv3
grub2-verify
if [ $? -eq 1 ]
then
echo -e "grub2-verify has detected a one or more bad signatures.\nPlease check for malicious software before you're unsigning everything!"
exit 1
fi
for i in `find /boot -name "*.sig"`
do
rm $i
done
echo "GRUB2 unsigned."