Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1oP98Z-0008WN-5L for mharc-grub-devel@gnu.org; Fri, 19 Aug 2022 17:02:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oP98X-0008R2-I2 for grub-devel@gnu.org; Fri, 19 Aug 2022 17:02:37 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:50774) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oP98U-0003XV-LD for grub-devel@gnu.org; Fri, 19 Aug 2022 17:02:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1660942953; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sXdei3FhJby32buWFEbcaS9uwSXgFb7E9AEk9F0yUC4=; b=AvZpATSLbb6vixaTjHK5nXP/fqUjNJJ0qMxxas9qmszynw24ElefvzUDsoYvkbUiFVpd9S 0XtmzdTofrusnIhya3TVacZGAxhC7sJSnitfGgTgf7a2gKa3WkyaA6BKN3LRghJrSzzJua wiaIB2nrXtEWD/hojGxyL0JxXbHx1Y0= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-627-lXexk3P3OFaWSjyhP0BqIA-1; Fri, 19 Aug 2022 17:02:30 -0400 X-MC-Unique: lXexk3P3OFaWSjyhP0BqIA-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 44756811E75; Fri, 19 Aug 2022 21:02:30 +0000 (UTC) Received: from eesha.redhat.com (unknown [10.22.32.204]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1F04B40D2827; Fri, 19 Aug 2022 21:02:30 +0000 (UTC) From: Robbie Harwood To: grub-devel@gnu.org Cc: dkiper@net-space.pl, Robbie Harwood Subject: [PATCH v2 1/2] grub.text: Document fwsetup command Date: Fri, 19 Aug 2022 17:02:26 -0400 Message-Id: <20220819210227.15124-2-rharwood@redhat.com> In-Reply-To: <20220819210227.15124-1-rharwood@redhat.com> References: <20220819210227.15124-1-rharwood@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true Received-SPF: pass client-ip=170.10.129.124; envelope-from=rharwood@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2022 21:02:37 -0000 Signed-off-by: Robbie Harwood --- docs/grub.texi | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/grub.texi b/docs/grub.texi index b848d0928b..949b5a3601 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 -- 2.35.1