aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobbie Harwood <rharwood@redhat.com>2022-08-19 17:02:26 -0400
committerDaniel Kiper <daniel.kiper@oracle.com>2022-08-20 01:26:54 +0200
commitce21bf557d26ef6500b47a4d3112e76c37bbb9f0 (patch)
tree9cd81e7a66dc0c656c416a52813b1079f9f505e2
parent26031d3b101648352e4e427f04bf69d320088e77 (diff)
downloadgrub-ce21bf557d26ef6500b47a4d3112e76c37bbb9f0.tar.gz
docs: Document fwsetup command
Signed-off-by: Robbie Harwood <rharwood@redhat.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
-rw-r--r--docs/grub.texi12
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/grub.texi b/docs/grub.texi
index b848d0928..a3ca2c8a2 100644
--- a/docs/grub.texi
+++ b/docs/grub.texi
@@ -4242,6 +4242,7 @@ you forget a command, you can run the command @command{help}
* eval:: Evaluate agruments as GRUB commands
* export:: Export an environment variable
* false:: Do nothing, unsuccessfully
+* fwsetup:: Reboot into the firmware setup menu
* gettext:: Translate a string
* gptsync:: Fill an MBR based on GPT entries
* halt:: Shut down your computer
@@ -4754,6 +4755,16 @@ such as @code{if} and @code{while} (@pxref{Shell-like scripting}).
@end deffn
+@node fwsetup
+@subsection fwsetup
+
+@deffn Command fwsetup [@option{--is-supported}]
+Reboot into the firmware setup menu. If @option{--is-supported} option is
+specified, instead check whether the firmware supports a setup menu and
+exit successfully if so.
+@end deffn
+
+
@node gettext
@subsection gettext
@@ -5939,7 +5950,6 @@ GRUB shell may provide more information on parameters and usage.
@item @command{fix_video} - Fix video problem.
@item @command{fpswa} - Display FPSWA version.
@item @command{functional_test} - Run all loaded functional tests.
-@item @command{fwsetup} - Reboot into firmware setup menu.
@item @command{gdbstub_break} - Break into GDB
@item @command{gdbstub} - Start GDB stub on given port
@item @command{gdbstub_stop} - Stop GDB stub