summaryrefslogtreecommitdiff
path: root/scripts/bt-dev-end.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/bt-dev-end.sh')
-rwxr-xr-xscripts/bt-dev-end.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/bt-dev-end.sh b/scripts/bt-dev-end.sh
new file mode 100755
index 0000000..69aea9a
--- /dev/null
+++ b/scripts/bt-dev-end.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
+
+# Device down
+/usr/bin/hciconfig hci0 down
+
+# Turn off Bluetooth Chip
+/usr/sbin/rfkill block bluetooth
+