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