Change-Id: Ic843de91c8559fa7c28fbd7f6f1ce16cee2a1fb9
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
/usr/etc/bluetooth/bt-dev-end.sh
# Stop HCI logging
-systemctl stop bluetooth-hci-logger.service
+/usr/bin/touch /run/.hci_logger_stop
# Kill BlueZ bluetooth stack
killall obexd obex-client
# Script for executing Bluetooth stack
#
-# Start HCI logging
-systemctl start bluetooth-hci-logger.service
-
# Register BT Device
/usr/etc/bluetooth/bt-dev-start.sh
if !(/usr/bin/hciconfig | grep hci); then
echo "Registering BT device is failed."
- systemctl stop bluetooth-hci-logger.service
exit 1
fi
-# Execute BlueZ BT stack
-echo "Run bluetoothd"
-/usr/libexec/bluetooth/bluetoothd -d -C &
-
exit 0