mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-04 15:39:59 +00:00
also unload BTServer.le
This commit is contained in:
parent
c868eb1eea
commit
1604205355
@ -494,6 +494,7 @@ static int iphone_on (void *transport_config){
|
||||
err = system ("launchctl unload /System/Library/LaunchDaemons/com.apple.BTServer.plist");
|
||||
|
||||
if (iphone_os_at_least_60()) {
|
||||
err = system ("launchctl unload /System/Library/LaunchDaemons/com.apple.BTServer.le.plist");
|
||||
err = system ("launchctl unload /System/Library/LaunchDaemons/com.apple.BlueTool.plist");
|
||||
}
|
||||
|
||||
@ -604,6 +605,7 @@ static int iphone_off (void *config){
|
||||
if (iphone_os_at_least_60()) {
|
||||
log_info("iphone_off: reload BlueTool\n");
|
||||
system ("launchctl load /System/Library/LaunchDaemons/com.apple.BlueTool.plist");
|
||||
system ("launchctl load /System/Library/LaunchDaemons/com.apple.BTServer.le.plist");
|
||||
log_info("iphone_off: done\n");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user