2 PATH=/bin:/usr/bin:/sbin:/usr/sbin
5 # Script for turning on EDUTM mode
8 if /usr/bin/hciconfig | /bin/grep hci; then
9 echo EDUTM already done, exit
12 /usr/etc/bluetooth/bt-edutm-dev-up.sh
15 if [ -e /usr/etc/bluetooth/TIInit_* ]
18 /usr/bin/hcitool cmd 0x3 0xFD0C
21 echo "Configure BT device"
22 /usr/bin/hcitool cmd 0x3 0x0005 0x02 0x00 0x02
24 echo "Send BT edutm command"
25 /usr/bin/hcitool cmd 0x06 0x0003