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 OBEXD_PID=$($PGREP obexd)
15 if [ "$OBEXD_PID" != "" ]; then
19 OBEXDCLIENT_PID=$($PGREP obexd-client)
20 if [ "$OBEXDCLIENT_PID" != "" ]; then
24 BTPB_AGENT_PID=$($PGREP bluetooth-pb-agent)
25 if [ "$BTPB_AGENT_PID" != "" ]; then
29 BTMAP_AGENT_PID=$($PGREP bluetooth-map-agent)
30 if [ "$BTMAP_AGENT_PID" != "" ]; then
34 BTHF_AGENT_PID=$($PGREP bluetooth-hf-agent)
35 if [ "$BTHF_AGENT_PID" != "" ]; then
39 BLUETOOTHD_PID=$($PGREP bluetoothd)
40 if [ "$BLUETOOTHD_PID" != "" ]; then