Limit Content Caching to Desktops by default

This commit is contained in:
Mykola Grymalyuk
2022-01-24 20:35:47 -07:00
parent 3e742ffaf8
commit 2ca02f5802
3 changed files with 7 additions and 1 deletions
+5
View File
@@ -84,6 +84,11 @@ class generate_defaults:
settings.secure_status = False # Modified root volume
settings.allow_fv_root = True # Allow FileVault on broken seal
# settings.amfi_status = True # Signed bundles, Don't need to explicitly set currently
if "Book" in model:
settings.set_content_caching = False
else:
settings.set_content_caching = True
custom_cpu_model_value = utilities.get_nvram("revcpuname", "4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102", decode=True)
if custom_cpu_model_value is not None: