-function do_hci()
-{
- local hci=`hciconfig | grep ^hci | cut -d: -f1`
- local btd="`getprop init.svc.bluetoothd`"
- log -t bluetoothd -p i "$btd ($hci)"
- if [ -n "`getprop hal.bluetooth.uart`" ]; then
- [ "`getprop init.svc.bluetoothd`" = "running" ] && hciconfig $hci up
- fi