15a2072
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
15a2072
From: Hans de Goede <hdegoede@redhat.com>
15a2072
Date: Tue, 26 Jun 2018 12:44:29 +0200
15a2072
Subject: [PATCH] 00_menu_auto_hide: Use a timeout of 60s for menu_show_once,
15a2072
 rather then no timeout
15a2072
15a2072
On some UEFI systems with fastboot enabled (USB) keyboards don't work at
15a2072
all, not even when explictly asking for keyboard input.
15a2072
15a2072
So lets change the timeout from not set (no timeout) to 60 seconds, so
15a2072
that on such systems if the menu was requested we continue with the
15a2072
default choice after 60 seconds.
15a2072
15a2072
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
15a2072
---
15a2072
 util/grub.d/00_menu_auto_hide.in | 2 +-
15a2072
 1 file changed, 1 insertion(+), 1 deletion(-)
15a2072
15a2072
diff --git a/util/grub.d/00_menu_auto_hide.in b/util/grub.d/00_menu_auto_hide.in
15a2072
index a10fe45bb2c..ca95c0d1c9f 100644
15a2072
--- a/util/grub.d/00_menu_auto_hide.in
15a2072
+++ b/util/grub.d/00_menu_auto_hide.in
15a2072
@@ -33,7 +33,7 @@ if [ x\$feature_timeout_style = xy ] ; then
15a2072
     unset menu_show_once
15a2072
     save_env menu_show_once
15a2072
     set timeout_style=menu
15a2072
-    unset timeout
15a2072
+    set timeout=60
15a2072
   elif [ "\${menu_auto_hide}" -a "\${last_boot_ok}" = "1" ]; then
15a2072
     set orig_timeout_style=\${timeout_style}
15a2072
     set orig_timeout=\${timeout}