From: Hyuk Lee Date: Mon, 26 Mar 2018 01:41:49 +0000 (+0900) Subject: Modify the wearable's stack up script X-Git-Tag: submit/tizen/20180328.081930^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=ede3f8c79187464d419259fe198571d369bca372;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-tools.git Modify the wearable's stack up script Change-Id: Ic843de91c8559fa7c28fbd7f6f1ce16cee2a1fb9 Signed-off-by: Hyuk Lee --- diff --git a/scripts/wearable/bt-stack-down.sh b/scripts/wearable/bt-stack-down.sh index 7bbcd1e..ae3e496 100755 --- a/scripts/wearable/bt-stack-down.sh +++ b/scripts/wearable/bt-stack-down.sh @@ -9,7 +9,7 @@ PATH=/bin:/usr/bin:/sbin:/usr/sbin /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 diff --git a/scripts/wearable/bt-stack-up.sh b/scripts/wearable/bt-stack-up.sh index 1116e6b..c3f213d 100755 --- a/scripts/wearable/bt-stack-up.sh +++ b/scripts/wearable/bt-stack-up.sh @@ -25,20 +25,12 @@ fi # 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