summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2003-06-10 22:04:09 +0000
committerScott Long <scottl@FreeBSD.org>2003-06-10 22:04:09 +0000
commitaf2aaddd7a925525dfa2601eccf96fd7d46b7c5d (patch)
treefee6b3c9c022e31e4d113bd8fd9647f583d3cedb
parentad39da7821ee96e46e10b0d1571c27cc35f3786f (diff)
Notes
-rw-r--r--sys/boot/forth/beastie.4th12
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/boot/forth/beastie.4th b/sys/boot/forth/beastie.4th
index f363a9a0ee5e..415f1005b8e8 100644
--- a/sys/boot/forth/beastie.4th
+++ b/sys/boot/forth/beastie.4th
@@ -154,6 +154,12 @@ variable rebootkey
set-current
: beastie-start
+ s" beastie_disable" getenv
+ dup -1 <> if
+ s" YES" compare-insensitive 0= if
+ exit
+ then
+ then
beastie-menu
s" autoboot_delay" getenv
dup -1 = if
@@ -200,7 +206,11 @@ set-current
s" YES" s" boot_single" setenv
s" boot" evaluate
then
- dup escapekey @ = if 2drop exit then
+ dup escapekey @ = if
+ 2drop
+ s" NO" s" autoboot_delay" setenv
+ exit
+ then
rebootkey @ = if s" reboot" evaluate then
repeat
;