Add the default path in the script file
[platform/core/connectivity/bluetooth-tools.git] / scripts / wearable / bt-stack-down.sh
1 #!/bin/sh
2 PATH=/bin:/usr/bin:/sbin:/usr/sbin
3
4 #
5 # Script for stopping Bluetooth stack
6 #
7
8 # Remove BT device
9 /usr/etc/bluetooth/bt-dev-end.sh
10
11 # Kill BlueZ bluetooth stack
12 killall obexd obex-client
13 killall bluetooth-pb-agent
14 killall bluetooth-map-agent
15 killall bluetooth-hfp-agent
16 killall bluetooth-hf-agent
17 killall bluetooth-ag-agent
18 killall bluetoothd
19
20 # result
21 exit 0