Blame SOURCES/0194-00_menu_auto_hide-Use-a-timeout-of-60s-for-menu_show.patch

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