HomeFreeBSD

lualoader: Add loader_menu_multi_user_prompt config variable

Description

lualoader: Add loader_menu_multi_user_prompt config variable

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.

Reviewed by: kevans, rpokala
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D36418

(cherry picked from commit 9b17aa27406f3716383e71c6687d53599a8f8d8a)

Details

Provenance
jrtc27Authored on Sep 2 2022, 7:30 PM
impCommitted on Jan 24 2023, 9:49 PM
Reviewer
kevans
Differential Revision
D36418: lualoader: Add loader_menu_multi_user_prompt config variable
Parents
rG09932da03ec4: stand: Parse BIOS revision from SMBIOS
Branches
Unknown
Tags
Unknown