Add option to choose LUKS version

master
BrainwreckedTech 3 years ago
parent 9b0d303110
commit 1b03e9c5d9

@ -6,6 +6,7 @@ HSHTYP='sha512'
ITTIME='5000' ITTIME='5000'
USERAN='random' USERAN='random'
DEVICE="${1}" DEVICE="${1}"
LKSTYP=0
# WE NEED ROOT PRIVILEGES # WE NEED ROOT PRIVILEGES
@ -42,6 +43,12 @@ if [ "${CONFRM,,}" = "y" ]; then
echo "" 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 "Setting up encryption with password..."
echo "" echo ""

Loading…
Cancel
Save