2 PATH=/bin:/usr/bin:/sbin:/usr/sbin
4 RFKILL=/usr/sbin/rfkill
8 echo "Check for bcm43012 device - TW2"
9 if (${RFKILL} list | ${GREP} bcm43012); then
10 echo "Solis TW2 device"
16 /usr/bin/bluetooth-hf-agent &
21 /usr/bin/bluetooth-ag-agent &
25 # Script for executing Bluetooth stack
29 systemctl start bluetooth-hci-logger.service
32 /usr/etc/bluetooth/bt-dev-start.sh
34 if !(/usr/bin/hciconfig | grep hci); then
35 echo "Registering BT device is failed."
36 systemctl stop bluetooth-hci-logger.service
40 # Execute BlueZ BT stack
42 /usr/libexec/bluetooth/bluetoothd -d -C &