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
F81656587: D36418.diff
Fri, Apr 19, 1:35 PM
Unknown Object (File)
Thu, Apr 11, 3:29 PM
Unknown Object (File)
Thu, Apr 11, 2:56 PM
Unknown Object (File)
Dec 20 2023, 6:01 AM
Unknown Object (File)
Dec 13 2023, 10:33 AM
Unknown Object (File)
Dec 12 2023, 11:32 PM
Unknown Object (File)
Dec 3 2023, 2:50 PM
Unknown Object (File)
Nov 17 2023, 8:56 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!