In case you just want the status(on|off) of bluetooth to be changed, not wanting the daemon to actually restart, you can do the following, # Let bluetooth be on $ sudo launchctl stop # or blued based on macOS version $ sudo launchctl load /System/Library/LaunchDaemons/Įven in the SIP environment(after El Capitan) you can simply launchctl stop then launchctl start the daemon. $ sudo launchctl unload /System/Library/LaunchDaemons/ So based on the version of the macOS, you need to change the daemon name in the below command(s).Īnother thing to note is that, unload then load the daemon's plist(instead of stop then start or sending HUP signal) may not work due to the SIP(System Integrity Protection) introduced in El Capitan.īut it should work when you disabled the SIP or on macOS before El Capitan. One thing to mention is the daemon name blued (at least until macOS 10.11 El Capitan), has been changed to bluetoothd.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |