Skip to content

Commit

Permalink
dont restart automatically after F11 it can be done manually
Browse files Browse the repository at this point in the history
Signed-off-by: Sergey Isakov <[email protected]>
  • Loading branch information
SergeySlice committed Nov 21, 2019
1 parent c822eef commit 6852bd3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rEFIt_UEFI/refit/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1752,11 +1752,11 @@ VOID ResetNvram ()
ResetNativeNvram ();
}
// Attempt warm reboot
gRS->ResetSystem(EfiResetWarm, EFI_SUCCESS, 0, NULL);
// gRS->ResetSystem(EfiResetWarm, EFI_SUCCESS, 0, NULL);
// Warm reboot may not be supported attempt cold reboot
gRS->ResetSystem(EfiResetCold, EFI_SUCCESS, 0, NULL);
// gRS->ResetSystem(EfiResetCold, EFI_SUCCESS, 0, NULL);
// Terminate the screen and just exit
TerminateScreen();
// TerminateScreen();
}

VOID SetOEMPath(CHAR16 *ConfName)
Expand Down

1 comment on commit 6852bd3

@maojinbing
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Windows 10 can't access NVRAM, so it can't be restarted and shut down.

Please sign in to comment.