Page MenuHomeFreeBSD

lualoader: Add loader_menu_multi_user_prompt config variable
ClosedPublic

Authored by jrtc27 on Sep 1 2022, 10:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jun 28, 3:54 PM
Unknown Object (File)
May 14 2024, 4:37 AM
Unknown Object (File)
May 6 2024, 3:28 AM
Unknown Object (File)
Apr 30 2024, 8:23 PM
Unknown Object (File)
Apr 27 2024, 9:55 AM
Unknown Object (File)
Apr 27 2024, 7:09 AM
Unknown Object (File)
Apr 25 2024, 11:39 PM
Unknown Object (File)
Apr 24 2024, 7:40 PM
Subscribers

Details

Summary

This allows the "Multi user" in "[B]oot Multi user" to be substituted
with another string, for example with "Installer" in installer media.
Note that this is lua-only at the moment, since loader.4th's menu.rc
defines the alternate name as Boot [M]ulti User, unlike lualoader which
leaves it as [B]oot Multi user. Ideally loader.4th would adopt the newer
and simpler lualoader behaviour and then it could gain support for this
option, but loader.4th is on the way out and isn't used by any official
installer media so this is not a significant concern.

MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Sep 1 2022, 10:42 PM

I'd think that the loader_ prefix is a bit much...

In D36418#827224, @imp wrote:

I'd think that the loader_ prefix is a bit much...

This was to match loader_menu_frame/timeout_[xy]/title(_align)/[xy] that already exist to influence various ways the menu is displayed (although mostly in drawer.lua not menu.lua)

Seems fine to me, thanks!