X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=scripts%2Fbt-stack-up.sh;h=b48d955b0dcec54201d1cec0c292b46c088dafe3;hb=refs%2Fchanges%2F48%2F16448%2F2;hp=1e934a1f805ab431b48c6563e919ed0e93124d11;hpb=eb0b0a3e704ac75a06972a41e64e51af862a5e64;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-tools.git diff --git a/scripts/bt-stack-up.sh b/scripts/bt-stack-up.sh index 1e934a1..b48d955 100644 --- a/scripts/bt-stack-up.sh +++ b/scripts/bt-stack-up.sh @@ -8,7 +8,7 @@ /usr/etc/bluetooth/bt-dev-start.sh if !(/usr/bin/hciconfig | grep hci); then - echo "Registering BT device is failed." + echo "Registering BT device failed." exit 1 fi @@ -17,9 +17,9 @@ echo "Run bluetoothd" # We have to handle both systemd and sysvinit cases differently if [ -d /sys/fs/cgroup/systemd ]; then - # bt-service changes USER to 'app' via libprivilege-control, so it needs + # bt-service changes USER via libprivilege-control, so it needs # to know where the session bus is located under systemd - export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/5000/dbus/user_bus_socket + export DBUS_SESSION_BUS_ADDRESS=unix:path=$XDG_RUNTIME_DIR/dbus/user_bus_socket else # Under systemd, bluetoothd is dbus activated. sysvinit requires it to be # launched explicitly