dotfiles/home/default/scripts/restart-bluetooth

12 lines
317 B
Plaintext
Raw Normal View History

2022-01-17 10:13:50 -05:00
#!/usr/bin/env bash
set -euo pipefail
echo stopping bluetooth-autoconnect...
sudo systemctl stop bluetooth-autoconnect
echo stopping bluetooth...
sudo systemctl stop bluetooth
echo starting bluetooth...
sudo systemctl start bluetooth
echo starting bluetooth-autoconnect...
sudo systemctl start bluetooth-autoconnect