mirror of
https://git.proxmox.com/git/efi-boot-shim
synced 2025-05-02 17:38:43 +00:00
Reset the system after restoring the boot entries
This commit is contained in:
parent
17266fd057
commit
117b1214d8
@ -612,5 +612,9 @@ efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *systab)
|
||||
return rc;
|
||||
}
|
||||
|
||||
Print(L"Reset System\n");
|
||||
uefi_call_wrapper(RT->ResetSystem, 4, EfiResetWarm,
|
||||
EFI_SUCCESS, 0, NULL);
|
||||
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user