diff --git a/mkcrypt b/mkcrypt index 6dabfcb..5cad476 100755 --- a/mkcrypt +++ b/mkcrypt @@ -6,6 +6,7 @@ HSHTYP='sha512' ITTIME='5000' USERAN='random' DEVICE="${1}" +LKSTYP=0 # WE NEED ROOT PRIVILEGES @@ -42,6 +43,12 @@ if [ "${CONFRM,,}" = "y" ]; then echo "" + while [ ! "${LKSTYP}" = "1" ] && [ ! "${LKSTYP}" = "2" ]; do + echo -n "Use version 1 or 2? " + read LKSTYP + echo "" + done + echo "Setting up encryption with password..." echo ""