Add option to choose LUKS version
This commit is contained in:
parent
9b0d303110
commit
1b03e9c5d9
7
mkcrypt
7
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 ""
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user