2 PATH=/bin:/usr/bin:/sbin:/usr/sbin
5 # Script for turning on Bluetooth (EDUTM)
8 if /usr/bin/hciconfig | /bin/grep hci; then
9 /usr/etc/bluetooth/bt-stack-down.sh
14 /usr/etc/bluetooth/bt-dev-start.sh
16 if !(/usr/bin/hciconfig | /bin/grep hci); then
17 echo "BT EDUTM failed. Registering BT device is failed."
21 # Execute BlueZ BT stack
23 /usr/lib/bluetooth/bluetoothd &
27 /usr/bin/hciconfig hci0 name TIZEN-Mobile
29 /usr/bin/hciconfig hci0 piscan
31 if [ -e "/sys/devices/hci0/idle_timeout" ]
34 echo 0 > /sys/devices/hci0/idle_timeout