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)
Sat, Nov 30, 3:35 PM
Unknown Object (File)
Thu, Nov 28, 9:15 AM
Unknown Object (File)
Wed, Nov 20, 6:00 AM
Unknown Object (File)
Fri, Nov 15, 3:55 PM
Unknown Object (File)
Oct 27 2024, 8:01 PM
Unknown Object (File)
Oct 9 2024, 2:16 AM
Unknown Object (File)
Oct 2 2024, 10:22 AM
Unknown Object (File)
Oct 2 2024, 10:22 AM
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!