summaryrefslogtreecommitdiffstats
path: root/sys/boot/forth
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2010-09-08 20:10:29 +0000
committerjhb <jhb@FreeBSD.org>2010-09-08 20:10:29 +0000
commit80b81c30a17cad45014984e9c719c3070ffd81fd (patch)
tree12b5b1872849d63a768b51af7a6037588a69add3 /sys/boot/forth
parent608e1b84a9142f7c5e7fb3c2d7e2bc4f64e633f0 (diff)
downloadFreeBSD-src-80b81c30a17cad45014984e9c719c3070ffd81fd.zip
FreeBSD-src-80b81c30a17cad45014984e9c719c3070ffd81fd.tar.gz
If autoboot_delay is set to -1, boot immediately without checking for
a keypress to match the behavior of the loader. PR: docs/108101 Submitted by: Wayne Sierke ws of au.dyndns.ws Tested by: brd MFC after: 1 week
Diffstat (limited to 'sys/boot/forth')
-rw-r--r--sys/boot/forth/beastie.4th5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/boot/forth/beastie.4th b/sys/boot/forth/beastie.4th
index c726875..d96f579 100644
--- a/sys/boot/forth/beastie.4th
+++ b/sys/boot/forth/beastie.4th
@@ -240,7 +240,10 @@ set-current
drop
10
else
- 0 0 2swap >number drop drop drop
+ 2dup s" -1" compare 0= if
+ 0 boot
+ then
+ 0 s>d 2swap >number 2drop drop
then
begin
dup tkey
OpenPOWER on IntegriCloud