Remove the unused session bus environement setting
[platform/core/connectivity/bluetooth-tools.git] / scripts / etc / 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 &