projects
/
platform
/
core
/
connectivity
/
bluetooth-tools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Modify the bt-stack-up.sh script
[platform/core/connectivity/bluetooth-tools.git]
/
scripts
/
mobile
/
bt-stack-up.sh
1
#!/bin/sh
2
PATH=/bin:/usr/bin:/sbin:/usr/sbin
3
4
#
5
# Script for executing Bluetooth stack
6
#
7
8
# Register BT Device
9
/usr/etc/bluetooth/bt-dev-start.sh
10
11
if !(/usr/bin/hciconfig | grep hci); then
12
echo "Registering BT device is failed."
13
/usr/bin/touch /run/.hci_logger_stop
14
exit 1
15
fi
16
17
exit 0