[fix] Message on passphrase fallback with osk-sdl

This commit is contained in:
Alex 2022-01-21 20:52:30 +01:00
parent 503dd6c45b
commit 0dd99ce5d6

View file

@ -63,7 +63,7 @@ fallback() {
if [ $plymouth = 1 ] ; then
if [ $osk_sdl = 1 ] ; then
plymouth hide-splash 2>/dev/null
/usr/bin/osk-sdl -d ${CRYPTTAB_SOURCE} -n "${CRYPTTAB_NAME}" -c /etc/osk.conf -v \
/usr/bin/osk-sdl -k -d "${CRYPTTAB_SOURCE}" -n "${CRYPTTAB_NAME}" -c /etc/osk.conf 2> /dev/null \
|| panic "Failure running osk-sdl. Good luck."
plymouth show-splash 2>/dev/null
else
@ -72,7 +72,7 @@ fallback() {
fi
else
if [ $osk_sdl = 1 ] ; then
/usr/bin/osk-sdl -d ${CRYPTTAB_SOURCE} -n "${CRYPTTAB_NAME}" -c /etc/osk.conf \
/usr/bin/osk-sdl -k -d "${CRYPTTAB_SOURCE}" -n "${CRYPTTAB_NAME}" -c /etc/osk.conf 2> /dev/null \
|| panic "Failure running osk-sdl. Good luck."
else
echo </dev/console 2>/dev/console