dotfiles/home/default/scripts/restart-bluetooth
2022-01-19 12:31:54 -05:00

12 lines
317 B
Bash
Executable File

#!/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