summaryrefslogtreecommitdiff
path: root/scripts/mobile/bt-stack-down.sh
blob: 322241afc6c7fa3ef147ac1c27fbba699134f5b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

#
# Script for stopping Bluetooth stack
#

# Remove BT device
/usr/etc/bluetooth/bt-dev-end.sh

# Kill BlueZ bluetooth stack
killall obexd obex-client
killall bt-syspopup
killall bluetooth-share
killall bluetooth-pb-agent
killall bluetooth-map-agent
killall bluetooth-hfp-agent
killall bluetoothd

# result
exit 0