Fix the service file overwriting issue on the common profile
[platform/core/connectivity/bluetooth-tools.git] / scripts / bt-dev-end.sh
1 #!/bin/sh
2 PATH=/bin:/usr/bin:/sbin:/usr/sbin
3
4 #
5 # Script for stopping Bluetooth stack
6 #
7
8 # Device down
9 /usr/bin/hciconfig hci0 down
10
11 # Turn off Bluetooth Chip
12 /usr/sbin/rfkill block bluetooth