tweak restart scripts
This commit is contained in:
11
home/default/scripts/restart-bluetooth
Executable file
11
home/default/scripts/restart-bluetooth
Executable file
@ -0,0 +1,11 @@
|
||||
#!/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
|
Reference in New Issue
Block a user