2 PATH=/bin:/usr/bin:/sbin:/usr/sbin
6 # Script for stopping Bluetooth stack
10 /usr/etc/bluetooth/bt-dev-end.sh
12 # Kill BlueZ bluetooth stack
14 BLUETOOTH_PID=$($PGREP bluetooth)
15 if [ "$BLUETOOTH_PID" != "" ]; then
19 OBEXD_PID=$($PGREP obexd)
20 if [ "$OBEXD_PID" != "" ]; then
24 OBEXDCLIENT_PID=$($PGREP obexd-client)
25 if [ "$OBEXDCLIENT_PID" != "" ]; then
29 BTSHARE_PID=$($PGREP bluetooth-share)
30 if [ "$BTSHARE_PID" != "" ]; then
34 BTPB_AGENT_PID=$($PGREP bluetooth-pb-agent)
35 if [ "$BTPB_AGENT_PID" != "" ]; then
39 BTMAP_AGENT_PID=$($PGREP bluetooth-map-agent)
40 if [ "$BTMAP_AGENT_PID" != "" ]; then
44 BTHFP_AGENT_PID=$($PGREP bluetooth-hfp-agent)
45 if [ "$BTHFP_AGENT_PID" != "" ]; then
49 BLUETOOTHD_PID=$($PGREP bluetoothd)
50 if [ "$BLUETOOTHD_PID" != "" ]; then