totally restart bluetooth
This commit is contained in:
parent
b1807eb72b
commit
80b1cc73a8
@ -1,11 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
echo stopping bluetooth-autoconnect...
|
||||
sudo systemctl stop bluetooth-autoconnect
|
||||
echo stopping bluetooth...
|
||||
sudo systemctl stop bluetooth-autoconnect
|
||||
sudo systemctl stop bluetooth
|
||||
sudo rmmod btusb
|
||||
|
||||
echo starting bluetooth...
|
||||
sudo modprobe btusb
|
||||
sudo systemctl start bluetooth
|
||||
echo starting bluetooth-autoconnect...
|
||||
sudo systemctl start bluetooth-autoconnect
|
||||
|
Loading…
Reference in New Issue
Block a user