mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
correct ask for password in crypttab
This commit is contained in:
parent
55d7ff0f5d
commit
37f54b3547
1 changed files with 1 additions and 1 deletions
|
@ -1502,7 +1502,7 @@ _opening_luks() {
|
|||
fi
|
||||
done
|
||||
LUKSPASSPHRASE="$(cat ${LUKSPASSPHRASE})"
|
||||
DIALOG --yesno "Would you like to safe the passphrase of luks device to /etc/crypttab?\nName:${LUKSDEVICE}" 0 0 || LUKSPASSPHRASE="none"
|
||||
DIALOG --yesno "Would you like to safe the passphrase of luks device to /etc/crypttab?\nName:${LUKSDEVICE}" 0 0 || LUKSPASSPHRASE="ASK"
|
||||
echo ${LUKSDEVICE} ${PART} ${LUKSPASSPHRASE} >> /tmp/.crypttab
|
||||
[[ -e /tmp/.passphrase ]] && rm /tmp/.passphrase
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue