From 1dd8fb4cf1f37e955f999edd724ddbdd8a1e7f7f Mon Sep 17 00:00:00 2001 From: Thierry Laurion Date: Fri, 13 Jan 2023 11:25:27 -0500 Subject: [PATCH] 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()