set wake-failure variable

Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
SergeySlice 2020-04-21 22:51:07 +03:00
parent 50faf1ae0a
commit b1024a3627

View File

@ -397,6 +397,11 @@ SetVariablesForOSX(LOADER_ENTRY *Entry)
DeleteNvramVariable(L"previous-system-uuid", &gEfiAppleBootGuid);
}
}
//one more variable can be set for 10.15.4
//sudo nvram wake-failure=%00%00%00%00%00
Color = 0;
AddNvramVariable(L"wake-failure", &gEfiAppleBootGuid, Attributes, 4, &Color);
return EFI_SUCCESS;
}