get plymouth to display a message
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2020-08-11 22:38:58 +02:00
parent 4136b1bfad
commit 0f6d79a7e4
2 changed files with 4 additions and 2 deletions

View File

@@ -3,7 +3,9 @@ set -a
. /etc/fido2luks.conf
if [ -z "$FIDO2LUKS_PASSWORD_HELPER" ]; then
export FIDO2LUKS_PASSWORD_HELPER="plymouth ask-for-password --promt 'FIDO2 password salt for $CRYPTTAB_NAME'"
MSG="FIDO2 password salt for $CRYPTTAB_NAME"
export FIDO2LUKS_PASSWORD_HELPER="plymouth ask-for-password --promt '$MSG'"
plymouth message --text "$MSG"
fi
fido2luks print-secret --bin