Currently in grub 1.98 if a user enables the GRUB_HIDDEN_TIMEOUT entry
in  /etc/default/grub. The following code will be executed from
/etc/grub.d/00_header.

if sleep$verbose --interruptible ${GRUB_HIDDEN_TIMEOUT} ; then
 set timeout=${GRUB_TIMEOUT}
 fi

That code performs the hidden timeout.  Either when it expires, or is
aborted with a key, it will start the regular timeout also.  This
behavior can be reproduced.

Here is a patch that changes that ${GRUB_TIMEOUT} to 0.

More info here: https://savannah.gnu.org/bugs/?29250
diff -ur grub-1.98.orig/util/grub.d/00_header.in grub-1.98/util/grub.d/00_header.in
--- grub-1.98.orig/util/grub.d/00_header.in	2010-03-11 00:36:05.766730374 -0400
+++ grub-1.98/util/grub.d/00_header.in	2010-03-11 00:40:49.046203888 -0400
@@ -150,7 +150,7 @@
   fi
   cat << EOF
 if sleep$verbose --interruptible ${GRUB_HIDDEN_TIMEOUT} ; then
-  set timeout=${GRUB_TIMEOUT}
+  set timeout=0
 fi
 EOF
 else
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to