From: Jay Freeman (saurik) Date: Mon, 30 Jan 2017 04:56:55 +0000 (-0800) Subject: iOS 10.2 claims "Not privileged to stop service.". X-Git-Tag: v1.1.28%b8~2 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/5652087ef8eac68233426e3675bf26b0c1585d55?hp=6406cc326ee8a4e72afe375db67c6a10c784afeb iOS 10.2 claims "Not privileged to stop service.". --- diff --git a/MobileCydia.mm b/MobileCydia.mm index 2e1c6887..dbe4f804 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"); }