标签:
defaults write /Library/Preferences/com.apple.Bluetooth.plist ControllerPowerState 0
#关闭蓝牙服务
defaults write /Library/Preferences/com.apple.Bluetooth.plist ControllerPowerState 1
#打开蓝牙服务
killall blued
#结束所有蓝牙服务进程
launchctl unload /System/Library/LaunchDaemons/com.apple.blued.plist
#卸载蓝牙Daemon
launchctl load /System/Library/LaunchDaemons/com.apple.blued.plist
#载入蓝牙Daemon
launchctl start com.apple.blued
#重启蓝牙Daemon
原文地址:https://discussions.apple.com/thread/2619301?tstart=0
标签:
原文地址:http://www.cnblogs.com/zfan/p/4733262.html