dotfiles/home/default/scripts/restart-bluetooth

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