projects
/
platform
/
core
/
connectivity
/
bluetooth-frwk.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix that bt-serivce can't find DBUS_SESSION_BUS_ADDRESS
[platform/core/connectivity/bluetooth-frwk.git]
/
bt-service
/
bluetooth-frwk-service
1
#!/bin/sh
2
3
#
4
# Script for running BT Service during booting time
5
#
6
7
if [ -x /usr/bin/bt-service ]; then
8
if [ -d /sys/fs/cgroup/systemd ]; then
9
export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/app/dbus/user_bus_socket;
10
fi
11
12
/usr/bin/bt-service &
13
fi