Tizen 2.0 Release
[adaptation/system-plugin-ia-generic.git] / scripts / bt-dev-start.sh
1 #!/bin/sh
2
3 #
4 # Script for registering Broadcom UART BT device
5 #
6 if !(/sbin/lsmod | grep btwilink); then
7         modprobe btwilink
8         /bin/uim &
9 fi
10
11 # Trun-on Bluetooth Chip
12 rfkill unblock bluetooth
13
14 echo "Check for Bluetooth device status"
15 if (/usr/sbin/hciconfig | grep hci); then
16         echo "Bluetooth device is UP"
17         /usr/sbin/hciconfig hci0 up
18 fi