mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
added additional luks dialog
This commit is contained in:
parent
05f2b2ce81
commit
758d92d0d5
1 changed files with 4 additions and 1 deletions
|
@ -159,7 +159,10 @@ activate_luks()
|
||||||
[ "$(cryptsetup status $devpath | grep $PART)" ] && OPEN_LUKS="no"
|
[ "$(cryptsetup status $devpath | grep $PART)" ] && OPEN_LUKS="no"
|
||||||
done
|
done
|
||||||
if ! [ "$OPEN_LUKS" = "no" ]; then
|
if ! [ "$OPEN_LUKS" = "no" ]; then
|
||||||
_enter_luks_name && _enter_luks_passphrase && _opening_luks
|
RUN_LUKS=""
|
||||||
|
DIALOG --yesno "Setup detected luks encrypted device, do you want to activate $PART ?" 0 0 && RUN_LUKS="1"
|
||||||
|
[ "$RUN_LUKS" = "1" ] && _enter_luks_name && _enter_luks_passphrase && _opening_luks
|
||||||
|
[ "$RUN_LUKS" = "" ] && ACTIVATE_LUKS="no"
|
||||||
else
|
else
|
||||||
ACTIVATE_LUKS="no"
|
ACTIVATE_LUKS="no"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue