diff options
author | Devin Teske <dteske@FreeBSD.org> | 2018-10-21 00:15:51 +0000 |
---|---|---|
committer | Devin Teske <dteske@FreeBSD.org> | 2018-10-21 00:15:51 +0000 |
commit | ff9154be8b9eeb4e54c0b37008710b3785e5efdd (patch) | |
tree | a6c4362f86394a38ed4e4392b392632584e1121e /stand/forth | |
parent | 17afd2beec6f65f67b7933f4e3f1a93c243971ba (diff) | |
download | src-ff9154be8b9eeb4e54c0b37008710b3785e5efdd.tar.gz src-ff9154be8b9eeb4e54c0b37008710b3785e5efdd.zip |
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.
Notes
Notes:
svn path=/head/; revision=339509
Diffstat (limited to 'stand/forth')
-rw-r--r-- | stand/forth/check-password.4th | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stand/forth/check-password.4th b/stand/forth/check-password.4th index d41777c8bd2a..e7996227c5f9 100644 --- a/stand/forth/check-password.4th +++ b/stand/forth/check-password.4th @@ -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 |