summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2017-01-29 20:56:55 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2017-01-29 20:56:55 -0800
commit5652087ef8eac68233426e3675bf26b0c1585d55 (patch)
treef320ef846e39fd80533f26e0b41e8a4be2e55aa6
parent6406cc326ee8a4e72afe375db67c6a10c784afeb (diff)
iOS 10.2 claims "Not privileged to stop service.".
-rw-r--r--MobileCydia.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 2e1c688..dbe4f80 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -9118,9 +9118,9 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi
- (void) reloadSpringBoard {
if (kCFCoreFoundationVersionNumber >= 700) // XXX: iOS 6.x
- system("/bin/launchctl stop com.apple.backboardd");
+ system("/usr/libexec/cydia/cydo /bin/launchctl stop com.apple.backboardd");
else
- system("/bin/launchctl stop com.apple.SpringBoard");
+ system("/usr/libexec/cydia/cydo /bin/launchctl stop com.apple.SpringBoard");
sleep(15);
system("/usr/bin/killall backboardd SpringBoard");
}