What about use sleep --interruptible to get the hotkey we want to use?
- {"interruptible", 'i', 0, N_("Allow to interrupt with ESC."), 0, 0},
+ {"interruptible", 'i', 0, N_("Allow to interrupt with one key."), 0,
ARG_TYPE_STRING},
I wrote a simple patch for this way. And we can use if sleep
--interuptible f10 3 to interupt the sleep.
** Patch added: "sleep.patch"
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1178618/+attachment/3823188/+files/sleep.patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1178618
Title:
--hotkey option does not work when the menu is hidden
To manage notifications about this bug go to:
https://bugs.launchpad.net/grub/+bug/1178618/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs