projects
/
platform
/
core
/
connectivity
/
bluetooth-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modify the bt-stack-up.sh script
[platform/core/connectivity/bluetooth-tools.git]
/
scripts
/
mobile
/
bt-stack-up.sh
diff --git
a/scripts/mobile/bt-stack-up.sh
b/scripts/mobile/bt-stack-up.sh
index
015d351
..
ddbf664
100644
(file)
--- a/
scripts/mobile/bt-stack-up.sh
+++ b/
scripts/mobile/bt-stack-up.sh
@@
-5,23
+5,13
@@
PATH=/bin:/usr/bin:/sbin:/usr/sbin
# Script for executing Bluetooth stack
#
# 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."
# 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
+ /usr/bin/touch /run/.hci_logger_stop
exit 1
fi
exit 1
fi
-# Execute BlueZ BT stack
-echo "Run bluetoothd"
-/usr/libexec/bluetooth/bluetoothd -d -C &
-
-echo "Run bluetooth-share by systemd"
-systemctl start --no-block bluetooth-share.service
-
exit 0
exit 0