Additional exit codes added + better shredding

This commit is contained in:
Bandie Kojote 2015-03-17 07:54:03 +01:00
parent 5e4766cfa8
commit dfe955413b
3 changed files with 13 additions and 1 deletions

View File

@ -40,4 +40,12 @@ do
done
# Shredding passphrase
echo "Shredding passphrase..."
for ( i=0; $i<10; i++ )
do
pp=`cat /dev/urandom | tr -dc 'a-zA-Z0-9-!@#$%^&*()_+~' | fold -w ${#pp} | head -n 1`
done
echo "Done!"
exit 0

View File

@ -19,3 +19,4 @@ 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!"
exit 0

View File

@ -60,3 +60,6 @@ then
else
exit 0
fi
# WHAT?!
exit 666