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

@ -398,6 +398,11 @@ SetVariablesForOSX(LOADER_ENTRY *Entry)
} }
} }
//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; return EFI_SUCCESS;
} }