There's a lot here that's already configurable, though I don't think
it's very well documented.  If an OEM wants to consistently wait for 1
second before booting, I believe it's sufficient to set
GRUB_HIDDEN_TIMEOUT=1 in /etc/default/grub (or perhaps in a custom
/etc/grub.d/00_before_header script).  After running 'update-grub', this
should give you /boot/grub/grub.cfg with a 1 second timeout everywhere:

if [ "x${timeout}" != "x-1" ]; then
  if sleep --interruptible 1 ; then
    set timeout=0
  fi
fi

Maybe this meets your requirements, without changes to the grub2
package?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1240366

Title:
  Use the same key to interrupt autoboot under legacy and EFI

To manage notifications about this bug go to:
https://bugs.launchpad.net/grub/+bug/1240366/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to