From: Glenn Washburn Date: Fri, 13 May 2022 21:19:32 +0000 (-0500) Subject: docs: Document undocumented variables X-Git-Tag: grub-2.12-rc1~320 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=190d79e135bba7b20dd8aa1e45721ca0f92f7272;p=thirdparty%2Fgrub.git docs: Document undocumented variables Document the variables net__clientid, net__clientuuid, lockdown, and shim_lock in the list of special environment variables. Signed-off-by: Glenn Washburn Reviewed-by: Daniel Kiper --- diff --git a/docs/grub.texi b/docs/grub.texi index 9b902273c..8c2fa32c7 100644 --- a/docs/grub.texi +++ b/docs/grub.texi @@ -2614,6 +2614,12 @@ The network interface's IP address. Read-only. @item net_@var{}_mac The network interface's MAC address. Read-only. +@item net_@var{}_clientid +The client id provided by DHCP. Read-only. + +@item net_@var{}_clientuuid +The client uuid provided by DHCP. Read-only. + @item net_@var{}_hostname The client host name provided by DHCP. Read-only. @@ -3279,9 +3285,12 @@ These variables have special meaning to GRUB. * icondir:: * lang:: * locale_dir:: +* lockdown:: * menu_color_highlight:: * menu_color_normal:: * net_@var{}_boot_file:: +* net_@var{}_clientid:: +* net_@var{}_clientuuid:: * net_@var{}_dhcp_server_name:: * net_@var{}_domain:: * net_@var{}_extensionspath:: @@ -3300,6 +3309,7 @@ These variables have special meaning to GRUB. * pxe_default_gateway:: * pxe_default_server:: * root:: +* shim_lock:: * superusers:: * theme:: * timeout:: @@ -3594,6 +3604,13 @@ default for this variable if internationalization is needed and any translation files are available. +@node lockdown +@subsection lockdown + +If this variable is set to @samp{y}, it means that GRUB has entered +@pxref{Lockdown} mode. + + @node menu_color_highlight @subsection menu_color_highlight @@ -3623,6 +3640,18 @@ The default is the value of @samp{color_normal} (@pxref{color_normal}). @xref{Network}. +@node net_@var{}_clientid +@subsection net_@var{}_clientid + +@xref{Network}. + + +@node net_@var{}_clientuuid +@subsection net_@var{}_clientuuid + +@xref{Network}. + + @node net_@var{}_dhcp_server_name @subsection net_@var{}_dhcp_server_name @@ -3743,6 +3772,13 @@ disk, then @samp{prefix} might be set to @samp{(hd0,msdos1)/boot/grub} and @samp{root} to @samp{hd0,msdos1}. +@node shim_lock +@subsection shim_lock + +If this variable is set to @samp{y}, it means that the shim_lock verifier +is registered (see @pxref{UEFI secure boot and shim}). + + @node superusers @subsection superusers