Adjust SIP naming

This commit is contained in:
Mykola Grymalyuk
2021-10-30 07:51:26 -06:00
parent 377b0dd797
commit 7463d56ffc
4 changed files with 4 additions and 10 deletions

View File

@@ -727,7 +727,7 @@ class BuildOpenCore:
print(f"- Setting SIP value to: {self.constants.custom_sip_value}")
self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["csr-active-config"] = utilities.string_to_hex(self.constants.custom_sip_value.lstrip("0x"))
elif self.constants.sip_status is False:
print("- Disabling SIP")
print("- Set SIP to allow Root Volume patching")
self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["csr-active-config"] = binascii.unhexlify("030A0000")
# if self.constants.amfi_status is False:
# print("- Disabling AMFI")

View File

@@ -166,13 +166,13 @@ Note: For security reasons, OpenShell will be disabled when Vault is set.
utilities.header(["Set System Integrity protection"])
print(
f"""SIP is used to ensure proper secuirty measures are set,
however to patch the root volume this must be disabled.
however to patch the root volume this must be lowered partially.
Only disable is absolutely necessary. SIP value = 0xA03
Valid options:
1. Enable SIP
2. Disable SIP
2. Lower SIP partially (allow root volume patching)
3. Set Custom SIP value {self.constants.custom_sip_value}
Q. Return to previous menu