Change-Id: Id80483481da9ea207c57cfef60dcdf579c9c6f17
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
killall hciattach
# Turn off Bluetooth Chip
-rfkill block bluetooth
+/usr/sbin/rfkill block bluetooth
#if [ -e /sys/class/gpio/gpio17/value ]
#then
fi
# Trun-on Bluetooth Chip
-rfkill unblock bluetooth
+/usr/sbin/rfkill unblock bluetooth
echo "Check for Bluetooth device status"
if (/usr/bin/hciconfig | grep hci); then
echo "HCIATTACH success"
else
echo "HCIATTACH failed"
- rfkill block bluetooth
+ /usr/sbin/rfkill block bluetooth
fi
fi