summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 f363a9a..415f100 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
;
OpenPOWER on IntegriCloud