Remove the unused session bus environement setting 26/132426/1
authorDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 5 Jun 2017 05:38:26 +0000 (14:38 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 5 Jun 2017 05:38:26 +0000 (14:38 +0900)
Change-Id: Ibe3daa60fc6ae9dd34892ff5c6d578c225bc6fb5
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
scripts/etc/bt-stack-up.sh
scripts/ivi/bt-stack-up.sh
scripts/mobile/bt-stack-up.sh

index c8f023adb6ebc36259ad08c9f9d49666218f94c8..4efff945860f1c688681fb43e022cdf8fa5fd441 100644 (file)
@@ -13,13 +13,6 @@ if !(/usr/bin/hciconfig | grep hci); then
        exit 1
 fi
 
-# 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
-   # to know where the session bus is located under systemd
-   export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/app/dbus/user_bus_socket
-fi
-
 # Execute BlueZ BT stack
 echo "Run bluetoothd"
 /usr/libexec/bluetooth/bluetoothd -d -C &
index af0bd14afe6a7f783bfced144714b257baacc673..b6a7cd2f5aecde2a53968de0a0100c913e425b3a 100644 (file)
@@ -15,13 +15,6 @@ if !(/usr/bin/hciconfig | grep hci); then
        exit 1
 fi
 
-# 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
-   # to know where the session bus is located under systemd
-   export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/app/dbus/user_bus_socket
-fi
-
 # Execute BlueZ BT stack
 echo "Run bluetoothd"
 /usr/libexec/bluetooth/bluetoothd -d -C &
index 3b144b2d52ebad820f820622c2686db50c4f5ed0..015d351352a648e310a5e99a7fefb6e7c6b4c613 100644 (file)
@@ -17,13 +17,6 @@ if !(/usr/bin/hciconfig | grep hci); then
        exit 1
 fi
 
-# 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
-   # to know where the session bus is located under systemd
-   export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/app/dbus/user_bus_socket
-fi
-
 # Execute BlueZ BT stack
 echo "Run bluetoothd"
 /usr/libexec/bluetooth/bluetoothd -d -C &