diff options
author | Sven Gothel <[email protected]> | 2020-07-27 07:35:10 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-07-27 07:35:10 +0200 |
commit | 10e0468045ca4ab21f445b414589084379d98704 (patch) | |
tree | 1c1080c18c10f64e08261e958bf4f00ed0f2f8ba | |
parent | 345772f9b5d51e04f2fd4409d8c90bd6f0dc195c (diff) |
Add convenient GNU/Linux start/stop scripts for bluetoothdv2.1.18
-rwxr-xr-x | scripts/start.bluetoothd.sh | 7 | ||||
-rwxr-xr-x | scripts/stop.bluetoothd.sh | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/scripts/start.bluetoothd.sh b/scripts/start.bluetoothd.sh new file mode 100755 index 00000000..ba0d2a10 --- /dev/null +++ b/scripts/start.bluetoothd.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +systemctl stop bluetooth +systemctl unmask bluetooth +systemctl start bluetooth +systemctl status bluetooth +hciconfig hci0 reset diff --git a/scripts/stop.bluetoothd.sh b/scripts/stop.bluetoothd.sh new file mode 100755 index 00000000..dde9b681 --- /dev/null +++ b/scripts/stop.bluetoothd.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +systemctl stop bluetooth +systemctl mask bluetooth +systemctl stop bluetooth +systemctl status bluetooth +hciconfig hci0 reset |