A bit more refined variant without ps: --- a/lib/console-setup/console-setup.sh 2024-02-09 17:45:38.000000000 +0300 +++ b/lib/console-setup/console-setup.sh 2024-02-14 01:15:24.413177808 +0300 @@ -16,6 +16,16 @@ -nt /etc/default/keyboard ] || do_configure=yes [ /etc/console-setup/cached_setup_terminal.sh \ -nt /etc/default/console-setup ] || do_configure=yes + + # if plymouth-exit.service was launched, this means + # plymouth released tty1 for us to fix + if [ -r /proc/1/comm ] && + [ "$(read -r INIT < /proc/1/comm ; echo "$INIT")" = "systemd" ] && + command -v systemctl >/dev/null && + systemctl is-active -q plymouth-quit.service + then + do_configure=yes + fi ;; esac