1234567891011121314151617181920 |
- #!/bin/bash
- # fail if any commands fails
- set -e
- # debug log
- #set -x
- # Set superuser privileges command if not set
- if [[ -z $su ]]; then
- export su="sudo"
- fi
- $su pacman -Sy bluez bluez-utils
- $su pacman -Sy blueman
- lsmod | grep btusb
- #$su nano /etc/bluetooth/main.conf
- $su rfkill unblock bluetooth
- $su dinitctl enable bluetoothd
- $su dinitctl start bluetoothd
- $su rfkill list
|