This commit is contained in:
j3d1 2020-01-29 21:40:53 +01:00
parent cdae9002c1
commit 3e7a4434be

View file

@ -11,9 +11,9 @@ function first_stage(){
echo -n luks_password: echo -n luks_password:
read -s luks_password read -s luks_password
if [ -b /dev/mapper/cryptlvm ]; then if [[ -b /dev/mapper/cryptlvm ]]; then
cryptsetup luksClose cryptlvm cryptsetup luksClose cryptlvm
close fi
wipefs -a ${DEVICE} wipefs -a ${DEVICE}