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)
|
- [Fonts](#fonts)
|
||||||
- [Functions](#functions)
|
- [Functions](#functions)
|
||||||
- [Hardware](#hardware)
|
- [Hardware](#hardware)
|
||||||
|
- [Bluetooth](#bluetooth)
|
||||||
- [Hardware Information](#hardware-information)
|
- [Hardware Information](#hardware-information)
|
||||||
- [Infrared Receiver](#infrared-receiver)
|
- [Infrared Receiver](#infrared-receiver)
|
||||||
- [Power Management](#power-management)
|
- [Power Management](#power-management)
|
||||||
@ -601,6 +602,20 @@ Please see [this file](functions.md).
|
|||||||
|
|
||||||
## Hardware
|
## 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
|
### Hardware Information
|
||||||
|
|
||||||
#### List All Hardware Ports
|
#### List All Hardware Ports
|
||||||
|
Loading…
Reference in New Issue
Block a user