Modify the bt-stack-up.sh script
[platform/core/connectivity/bluetooth-tools.git] / scripts / mobile / bt-stack-down.sh
old mode 100755 (executable)
new mode 100644 (file)
index 9d43f5d..0f8926f
@@ -1,4 +1,5 @@
 #!/bin/sh
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
 
 #
 # Script for stopping Bluetooth stack
@@ -7,6 +8,9 @@
 # Remove BT device
 /usr/etc/bluetooth/bt-dev-end.sh
 
+# Stop HCI logging
+/usr/bin/touch /run/.hci_logger_stop
+
 # Kill BlueZ bluetooth stack
 killall obexd obex-client
 killall bt-syspopup