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

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