wip
This commit is contained in:
parent
cdae9002c1
commit
3e7a4434be
1 changed files with 2 additions and 2 deletions
4
entry.sh
4
entry.sh
|
@ -11,9 +11,9 @@ function first_stage(){
|
|||
echo -n luks_password:
|
||||
read -s luks_password
|
||||
|
||||
if [ -b /dev/mapper/cryptlvm ]; then
|
||||
if [[ -b /dev/mapper/cryptlvm ]]; then
|
||||
cryptsetup luksClose cryptlvm
|
||||
close
|
||||
fi
|
||||
|
||||
wipefs -a ${DEVICE}
|
||||
|
||||
|
|
Loading…
Reference in a new issue