From 5a4ac8a35a7ff5260ced655d2816bb135e6f6bff Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Wed, 27 Nov 2024 08:06:30 +0100 Subject: cmd: bootmenu: add parameter -e for UEFI boot options The bootmenu command can display * menu entries defined by environment variables * menu entries defined by UEFI boot options Not in all cases showing the UEFI boot options is desired. Provide a new parameter '-e' to select the display of UEFI boot options. Reviewed-by: Ilias Apalodimas Signed-off-by: Heinrich Schuchardt --- doc/usage/cmd/bootmenu.rst | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'doc/usage/cmd') diff --git a/doc/usage/cmd/bootmenu.rst b/doc/usage/cmd/bootmenu.rst index 294cc02b17a..cd5597bc646 100644 --- a/doc/usage/cmd/bootmenu.rst +++ b/doc/usage/cmd/bootmenu.rst @@ -11,7 +11,7 @@ Synopsis -------- :: - bootmenu [delay] + bootmenu [-e] [delay] Description ----------- @@ -28,6 +28,14 @@ The "bootmenu" command interprets ANSI escape sequences, so an ANSI terminal is required for proper menu rendering and item selection. +-e + show menu entries based on UEFI boot options + +delay + is the autoboot delay in seconds, after which the first + menu entry will be selected automatically + + The assembling of the menu is done via a set of environment variables "bootmenu_" and "bootmenu_delay", i.e.:: @@ -35,8 +43,7 @@ The assembling of the menu is done via a set of environment variables bootmenu_="=<commands>" <delay> - is the autoboot delay in seconds, after which the first - menu entry will be selected automatically + autostart delay in seconds <num> is the boot menu entry number, starting from zero -- cgit v1.2.3