X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=scripts%2Fbt-dev-start.sh;h=dcd72f7e3778bbdd1aff8876304d736d5bae9af4;hb=13bc56f00b2e5590cc4052ca72248e69b47eb6e7;hp=c06524a70834d3f77978fae0979c98e26c178de1;hpb=b6b43443efb53a8c08d3a7f8ac3dbbd222d3d2af;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-tools.git diff --git a/scripts/bt-dev-start.sh b/scripts/bt-dev-start.sh index c06524a..dcd72f7 100755 --- a/scripts/bt-dev-start.sh +++ b/scripts/bt-dev-start.sh @@ -8,13 +8,13 @@ BT_PLATFORM_DEFAULT_HCI_NAME="Tizen" /usr/sbin/rfkill unblock bluetooth echo "Check for Bluetooth device status" -if (/usr/sbin/hciconfig | grep hci); then +if (/usr/bin/hciconfig | grep hci); then echo "Bluetooth device is UP" - /usr/sbin/hciconfig hci0 up + /usr/bin/hciconfig hci0 up else echo "Bluetooth device is DOWN" echo "Registering Bluetooth device" - /usr/sbin/hciconfig hci0 up - /usr/sbin/hciconfig hci0 name $BT_PLATFORM_DEFAULT_HCI_NAME - /usr/sbin/hciconfig hci0 sspmode 1 + /usr/bin/hciconfig hci0 up + /usr/bin/hciconfig hci0 name $BT_PLATFORM_DEFAULT_HCI_NAME + /usr/bin/hciconfig hci0 sspmode 1 fi