help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question: skip menu, but enter by keypress


From: Andrey Borzenkov
Subject: Re: Question: skip menu, but enter by keypress
Date: Sun, 29 Sep 2013 11:35:29 +0400

В Sun, 29 Sep 2013 08:58:20 +0400
Aleksey Midenkov <address@hidden> пишет:

> Is it possible as in LILO to make such configuration:
> 
> don't show menu, don't do timeout, run default menu entry unless SHIFT
> key is pressed.
> 
> If SHIFT menu is pressed, then enter menu.
> 

Something like this should work

set timeout=0
if keystatus --shift ; then
  set timeout=5
fi

> Why I'm asking, because how it's done in Grub -- enter to menu is
> possible only if timeout is set to > 0 is something I don't like. I
> don't want to spend 1 more sec on each reboot just because it is
> required for the ability to enter menu.
> 
> _______________________________________________
> Help-grub mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-grub




reply via email to

[Prev in Thread] Current Thread [Next in Thread]