]> git.saurik.com Git - cydia.git/commitdiff
iOS 10.2 claims "Not privileged to stop service.".
authorJay Freeman (saurik) <saurik@saurik.com>
Mon, 30 Jan 2017 04:56:55 +0000 (20:56 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 30 Jan 2017 04:56:55 +0000 (20:56 -0800)
MobileCydia.mm

index 2e1c6887bfdb52cc00b4ffbac600984d3e4d6da5..dbe4f804c49ed3c42fbb524c6c1a5a085bbbde7d 100644 (file)
@@ -9118,9 +9118,9 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi
 
 - (void) reloadSpringBoard {
     if (kCFCoreFoundationVersionNumber >= 700) // XXX: iOS 6.x
 
 - (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
     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");
 }
     sleep(15);
     system("/usr/bin/killall backboardd SpringBoard");
 }