From 4d87b291ad993a6d5bd6bef337fdff61d9b336be Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Thu, 19 May 2005 23:03:02 +0000 Subject: Extend `autoboot_delay' handling - is this variable is set to -1 don't allow user to interrupt autoboot process at all. Currently, even when `autoboot_delay' is set to 0, loader(8) still allows autoboot process to be interrupted by pressing any key on the console when the loader reads kernel and modules from the disk. In some cases (i.e. untrusted environment) such behaviour is highly indesirable and user should not be allowed to interfere with the autoboot process at all. Sponsored by: PBXpress Inc. MFC after: 3 days --- sys/boot/forth/loader.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/boot/forth/loader.conf') diff --git a/sys/boot/forth/loader.conf b/sys/boot/forth/loader.conf index 44963575efe6..9b0c9cd927e5 100644 --- a/sys/boot/forth/loader.conf +++ b/sys/boot/forth/loader.conf @@ -42,7 +42,10 @@ loader_color="NO" # Set this to YES to enable splash screen colors ### Loader settings ######################################## ############################################################## -#autoboot_delay="10" # Delay in seconds before autobooting +#autoboot_delay="10" # Delay in seconds before autobooting, + # set to -1 if you don't want user to be + # allowed to interrupt autoboot process and + # escape to the loader prompt #beastie_disable="NO" # Turn the beastie boot menu on and off #console="vidconsole" # Set the current console #currdev="disk1s1a" # Set the current device -- cgit v1.3