From 3d5db5d9e26a290a8b7cbbc28a6d3335e6ac949c Mon Sep 17 00:00:00 2001 From: Thierry Laurion Date: Fri, 13 Jan 2023 11:24:26 -0500 Subject: [PATCH 1/2] functions: remove the last two print clear which prevented to troubleshoot console output --- initrd/etc/functions | 4 ---- 1 file changed, 4 deletions(-) diff --git a/initrd/etc/functions b/initrd/etc/functions index 8062c20b..5d837b5c 100755 --- a/initrd/etc/functions +++ b/initrd/etc/functions @@ -38,8 +38,6 @@ recovery() { else /bin/ash fi - # clear screen - printf "\033c" done } @@ -309,8 +307,6 @@ combine_configs() { update_checksums() { - # clear screen - printf "\033c" # ensure /boot mounted if ! grep -q /boot /proc/mounts ; then mount -o ro /boot \ From 1dd8fb4cf1f37e955f999edd724ddbdd8a1e7f7f Mon Sep 17 00:00:00 2001 From: Thierry Laurion Date: Fri, 13 Jan 2023 11:25:27 -0500 Subject: [PATCH 2/2] gui-init: add a print clear after TOTP Qr code being confirmed to be scanned by user --- initrd/bin/gui-init | 2 ++ 1 file changed, 2 insertions(+) diff --git a/initrd/bin/gui-init b/initrd/bin/gui-init index 74c124dc..e3555cb6 100755 --- a/initrd/bin/gui-init +++ b/initrd/bin/gui-init @@ -157,6 +157,8 @@ generate_totp_htop() echo "Once you have scanned the QR code, hit Enter to continue" read fi + # clear screen + printf "\033c" } update_totp()