fac25a85864bbc1ddfa05e45bd0a99799ef1de6a
[platform/core/connectivity/bluetooth-tools.git] / scripts / etc / bt-stack-up.sh
1 #!/bin/sh
2 PATH=/bin:/usr/bin:/sbin:/usr/sbin
3
4 #
5 # Script for executing Bluetooth stack
6 #
7
8 # Register BT Device
9 /usr/etc/bluetooth/bt-dev-start.sh
10
11 if !(/usr/bin/hciconfig | grep hci); then
12         echo "Registering BT device is failed."
13         exit 1
14 fi
15
16 exit 0