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