small fix

This commit is contained in:
teldra 2021-03-12 22:43:47 +01:00
parent 7f6c9088bc
commit eab89fe8b3
1 changed files with 5 additions and 1 deletions

View File

@ -98,6 +98,10 @@ echo "######"
multiplechoice "fde_key_store" "initramfs" "usb" "once" "twice" "notencrypted"
if [[ "${cfg[fde_key_store]}" == "notencrypted" ]]; then
setconf add "fde_key_store" "none"
fi
if [[ ! "${cfg[fde_key_store]}" == "none" ]]; then
input_pw "Disk Password"
setconf "add" "diskpw" "${output}"
@ -160,4 +164,4 @@ setconf "add" "rootfssize" "${rootfssize}"
setconf "add" "wipe" "${cfg[wipe]}"
setconf "add" "diskname" "${disk[name]}" "nonvolatile"
module end
module end