Code sync: merged tizen 2.4 base source code
[platform/core/connectivity/bluetooth-tools.git] / scripts / bt-edutm-mode-on.sh
index ae97221..8b12770 100755 (executable)
@@ -4,7 +4,7 @@
 # Script for turning on EDUTM mode
 #
 
-if /usr/sbin/hciconfig | grep hci; then
+if /usr/bin/hciconfig | /bin/grep hci; then
        echo EDUTM already done, exit
 else
        echo Start EDUTM
@@ -14,13 +14,13 @@ fi
 if [ -e /usr/etc/bluetooth/TIInit_* ]
 then
        echo "Reset device"
-       hcitool cmd 0x3 0xFD0C
+       /usr/bin/hcitool cmd 0x3 0xFD0C
 fi
 
 echo "Configure BT device"
-hcitool cmd 0x3 0x0005 0x02 0x00 0x02
+/usr/bin/hcitool cmd 0x3 0x0005 0x02 0x00 0x02
 
 echo "Send BT edutm command"
-hcitool cmd 0x06 0x0003
+/usr/bin/hcitool cmd 0x06 0x0003
 
 echo "BT edutm done"