mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-25 23:21:33 +03:00
sd-boot: change name of automatic entry for rebooting into firmware
Let's stick to one nomenclature. In userspace we usually call this "reboot to firmware setup", hence use the same name in sd-boot too. This name was previously only relevant internally, but since the addition of the LoaderEntries EFI var is exposed to userspace, hence let's get this right with the first release adding this.
This commit is contained in:
parent
5dd5f7cfa8
commit
b58c7351c0
@ -2162,7 +2162,7 @@ EFI_STATUS efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *sys_table) {
|
||||
UINT64 osind = (UINT64)*b;
|
||||
|
||||
if (osind & EFI_OS_INDICATIONS_BOOT_TO_FW_UI)
|
||||
config_entry_add_call(&config, L"auto-reboot-into-firmware-ui", L"Reboot Into Firmware Interface", reboot_into_firmware);
|
||||
config_entry_add_call(&config, L"auto-reboot-to-firmware-setup", L"Reboot Into Firmware Interface", reboot_into_firmware);
|
||||
FreePool(b);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user