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'
|
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…
x
Reference in New Issue
Block a user