mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Restore the ability to prevent the user from interrupting the boot process
without first entering the password stored in loader.conf(5). PR: kern/207069 Reported by: david@dcrosstech.com MFC after: 3 days Sponsored by: Smule, Inc.
This commit is contained in:
parent
17afd2beec
commit
ff9154be8b
1 changed files with 2 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ variable readlen \ input length
|
|||
again \ Enter was not pressed; repeat
|
||||
;
|
||||
|
||||
only forth definitions also password-processing
|
||||
only forth definitions also password-processing also support-functions
|
||||
|
||||
: check-password ( -- )
|
||||
|
||||
|
|
@ -161,6 +161,7 @@ only forth definitions also password-processing
|
|||
\ We should prevent the user from visiting the menu or dropping to the
|
||||
\ interactive loader(8) prompt, but still allow the machine to boot...
|
||||
|
||||
any_conf_read? if load_kernel load_modules then
|
||||
0 autoboot
|
||||
|
||||
\ Only reached if autoboot fails for any reason (including if/when
|
||||
|
|
|
|||
Loading…
Reference in a new issue