summaryrefslogtreecommitdiff
path: root/docs/BOOT_LOADER_INTERFACE.md
diff options
context:
space:
mode:
authorJan Janssen <medhefgo@web.de>2022-09-06 10:46:27 +0200
committerJan Janssen <medhefgo@web.de>2022-09-07 12:55:55 +0200
commit97f077df052c75224dcc73375bfaaa69af6a1c26 (patch)
treee6b284581b54cc4501b4820b61b16f5285e19d92 /docs/BOOT_LOADER_INTERFACE.md
parent28fda21c85d476defbf36a866e2d45729f790eba (diff)
downloadsystemd-97f077df052c75224dcc73375bfaaa69af6a1c26.tar.gz
boot: Avoid magic values in timeout EFI vars
Diffstat (limited to 'docs/BOOT_LOADER_INTERFACE.md')
-rw-r--r--docs/BOOT_LOADER_INTERFACE.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/BOOT_LOADER_INTERFACE.md b/docs/BOOT_LOADER_INTERFACE.md
index f7be50421c..fc9336085b 100644
--- a/docs/BOOT_LOADER_INTERFACE.md
+++ b/docs/BOOT_LOADER_INTERFACE.md
@@ -31,7 +31,11 @@ variables. All EFI variables use the vendor UUID
* The EFI variable `LoaderConfigTimeout` contains the boot menu timeout
currently in use. It may be modified both by the boot loader and by the
host. The value should be formatted as numeric, NUL-terminated, decimal
- string, in UTF-16. The time is specified in µs.
+ string, in UTF-16. The time is specified in seconds. A value of `menu-force`
+ will disable the timeout and show the menu indefinitely. If set to `0` or
+ `menu-hidden` the default entry is booted immediately without showing a menu.
+ The boot loader should provide a way to interrupt this by for example
+ listening for key presses for a brief moment before booting.
* Similarly, the EFI variable `LoaderConfigTimeoutOneShot` contains a boot menu
timeout for a single following boot. It is set by the OS in order to request