Add the default path in the script file
[platform/adaptation/bluetooth-firmware-bcm.git] / scripts / bt-set-addr.sh
1 #!/bin/sh
2 PATH=/bin:/usr/bin:/sbin:/usr/sbin
3
4 #
5 # Script for setting Bluetooth Address
6 #
7
8 if [ -e /opt/etc/.bd_addr ]
9 then
10         echo "Already .bd_addr exists"
11         exit 0
12 fi
13
14 /usr/bin/setbd
15
16 echo "Set BT address successes"
17