From 19610748d348b4655eb497977614fb55b33fe1c9 Mon Sep 17 00:00:00 2001 From: Jonathon Hall Date: Fri, 7 Jul 2023 16:39:55 -0400 Subject: [PATCH] config-gui.sh: Fix truncated restricted boot prompt The "disable restricted boot" prompt got slightly too long when fixing the TPM wording. Re-wrap that line to match the others. Wrapping could use some general cleanup but this is sufficient so the text isn't truncated. Signed-off-by: Jonathon Hall --- initrd/bin/config-gui.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/initrd/bin/config-gui.sh b/initrd/bin/config-gui.sh index 7925a30a..034aeb29 100755 --- a/initrd/bin/config-gui.sh +++ b/initrd/bin/config-gui.sh @@ -335,7 +335,8 @@ while true; do if (whiptail --title 'Disable Restricted Boot Mode?' \ --yesno "This will allow booting from unsigned devices, \nand will re-enable failsafe boot mode. - \n\nThis will also erase the TOTP/HOTP secret and re-enable the recovery console. + \n\nThis will also erase the TOTP/HOTP secret and + \nre-enable the recovery console. \n\nProceeding will automatically update the boot firmware and reboot! \n\nDo you want to proceed?" 0 80) then