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
pp=`cat /dev/urandom | tr -dc 'a-zA-Z0-9-!@#$%^&*()_+~' | fold -w ${#pp} | head -n 1`
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