Add Bluetooth category and entry
This commit is contained in:
parent
adc60e61ad
commit
d9d3d4f85d
15
README.md
15
README.md
@ -41,6 +41,7 @@ For more terminal shell goodness, please also see this list's sister list [Aweso
|
||||
- [Fonts](#fonts)
|
||||
- [Functions](#functions)
|
||||
- [Hardware](#hardware)
|
||||
- [Bluetooth](#bluetooth)
|
||||
- [Hardware Information](#hardware-information)
|
||||
- [Infrared Receiver](#infrared-receiver)
|
||||
- [Power Management](#power-management)
|
||||
@ -601,6 +602,20 @@ Please see [this file](functions.md).
|
||||
|
||||
## Hardware
|
||||
|
||||
### Bluetooth
|
||||
|
||||
```bash
|
||||
# Status
|
||||
defaults read /Library/Preferences/com.apple.Bluetooth ControllerPowerState
|
||||
|
||||
# Enable (Default)
|
||||
sudo defaults write /Library/Preferences/com.apple.Bluetooth ControllerPowerState -int 1
|
||||
|
||||
# Disable
|
||||
sudo defaults write /Library/Preferences/com.apple.Bluetooth ControllerPowerState -int 0 && \
|
||||
sudo killall -HUP blued
|
||||
```
|
||||
|
||||
### Hardware Information
|
||||
|
||||
#### List All Hardware Ports
|
||||
|
Loading…
Reference in New Issue
Block a user