Fix deferred kernel loading breaks loader password. [EN-18:15.loader]

Submitted by:	dteske
Approved by:	so
Security:	FreeBSD-EN-18:15.loader
This commit is contained in:
gordon 2018-11-27 19:45:25 +00:00 committed by Franco Fichtner
parent 6508496b12
commit 371dc08bfd
1 changed files with 2 additions and 1 deletions

View File

@ -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