From af2aaddd7a925525dfa2601eccf96fd7d46b7c5d Mon Sep 17 00:00:00 2001 From: Scott Long Date: Tue, 10 Jun 2003 22:04:09 +0000 Subject: Don't start the beastie menu if the 'beastie_disable' variable is set to 'YES'. If the user selects to escape to the loader prompt, set 'autoboot_delay' to 'NO' so that the prompt timer doesn't run. --- sys/boot/forth/beastie.4th | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'sys/boot/forth') diff --git a/sys/boot/forth/beastie.4th b/sys/boot/forth/beastie.4th index f363a9a0ee5e3..415f1005b8e84 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 ; -- cgit v1.3