FreeBSD Bugzilla – Attachment 241366 Details for
Bug 265472
/boot/loader: lua autoboot timer restarts if menu password is set
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
After interrupting the autoboot timeout, prevent it from restarting.
password.lua.diff (text/plain), 513 bytes, created by
crahman
on 2023-04-09 08:01:58 UTC
(
hide
)
Description:
After interrupting the autoboot timeout, prevent it from restarting.
Filename:
MIME Type:
Creator:
crahman
Created:
2023-04-09 08:01:58 UTC
Size:
513 bytes
patch
obsolete
>diff --git a/stand/lua/password.lua b/stand/lua/password.lua >index 8edd4edd7ec3..3aea8e80bae6 100644 >--- a/stand/lua/password.lua >+++ b/stand/lua/password.lua >@@ -135,6 +135,7 @@ function password.check() > local pwd = loader.getenv("password") > if pwd ~= nil then > core.autoboot() >+ loader.setenv("autoboot_delay", "NO") > -- The autoboot sequence was interrupted, so we'll need to > -- prompt for a password. Put the screen back into a known > -- good state, otherwise we're drawing back a couple lines
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 265472
:
235517
| 241366