summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjh <jh@FreeBSD.org>2011-09-02 19:29:37 +0000
committerjh <jh@FreeBSD.org>2011-09-02 19:29:37 +0000
commit8f442730d25f0bdc628bfb9865871da47a7bf5dc (patch)
tree104c2871efaad8c0638d6c91a19e6e7b20875a1b
parent68e09a12b6b54204def211a965c29e805e8dd2be (diff)
downloadFreeBSD-src-8f442730d25f0bdc628bfb9865871da47a7bf5dc.zip
FreeBSD-src-8f442730d25f0bdc628bfb9865871da47a7bf5dc.tar.gz
Restore behavior of the autoboot_delay="-1" boot menu setting to the
pre-r222417 state. The behavior was essentially reversed in r222417 which can cause confusion. PR: 159775 Submitted by: Devin Teske Approved by: re (kib)
-rw-r--r--sys/boot/forth/menu.4th7
-rw-r--r--sys/boot/forth/menu.4th.810
2 files changed, 11 insertions, 6 deletions
diff --git a/sys/boot/forth/menu.4th b/sys/boot/forth/menu.4th
index 110ec1c..fbb6c16 100644
--- a/sys/boot/forth/menu.4th
+++ b/sys/boot/forth/menu.4th
@@ -742,11 +742,12 @@ create init_text8 255 allot
else
-rot 2drop
- \ disable timeout if less than zero
+ \ boot immediately if less than zero
dup 0< if
drop
- 0 menu_timeout_enabled !
- 0 ( assigned to menu_timeout below )
+ menu-create
+ 0 25 at-xy
+ 0 boot
then
then
then
diff --git a/sys/boot/forth/menu.4th.8 b/sys/boot/forth/menu.4th.8
index 45388f5..55cbfd1 100644
--- a/sys/boot/forth/menu.4th.8
+++ b/sys/boot/forth/menu.4th.8
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd May 18, 2011
+.Dd Aug 29, 2011
.Dt MENU.4TH 8
.Os
.Sh NAME
@@ -96,11 +96,15 @@ will wait before executing
by default) unless a key is pressed.
If set to
.Dq Li NO
-(case-insensitive) or
-.Dq Li -1 ,
+(case-insensitive)
.Ic menu-display
will wait for user input and never execute
.Ic menu_timeout_command .
+If set to
+.Dq Li -1 ,
+.Ic menu-display
+will boot immediately, preventing both interruption of the autoboot process and
+escaping to the loader prompt.
Default is
.Dq Li 10 .
See
OpenPOWER on IntegriCloud