mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-24 03:50:14 +10:00
Add RestrictEvents-MBP91.patch for easier tracking
This commit is contained in:
21
payloads/Kexts/Acidanthera/RestrictEvents-MBP91.patch
Normal file
21
payloads/Kexts/Acidanthera/RestrictEvents-MBP91.patch
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
From 772e02b375b5b2186342965f3089d9d1bca053bf Mon Sep 17 00:00:00 2001
|
||||||
|
From: Dhinak G <17605561+dhinakg@users.noreply.github.com>
|
||||||
|
Date: Tue, 23 Mar 2021 17:21:48 -0400
|
||||||
|
Subject: [PATCH] Disable displaypolicyd
|
||||||
|
|
||||||
|
---
|
||||||
|
RestrictEvents/RestrictEvents.cpp | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/RestrictEvents/RestrictEvents.cpp b/RestrictEvents/RestrictEvents.cpp
|
||||||
|
index 69b6af8..029417c 100644
|
||||||
|
--- a/RestrictEvents/RestrictEvents.cpp
|
||||||
|
+++ b/RestrictEvents/RestrictEvents.cpp
|
||||||
|
@@ -35,6 +35,7 @@ struct RestrictEventsPolicy {
|
||||||
|
"/System/Library/CoreServices/ExpansionSlotNotification",
|
||||||
|
"/System/Library/CoreServices/MemorySlotNotification",
|
||||||
|
"/usr/libexec/firmwarecheckers/eficheck/eficheck",
|
||||||
|
+ "/usr/libexec/displaypolicyd"
|
||||||
|
};
|
||||||
|
|
||||||
|
char pathbuf[MAXPATHLEN];
|
||||||
Reference in New Issue
Block a user