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 c8f023a..4efff94 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 af0bd14..b6a7cd2 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 3b144b2..015d351 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 &