summaryrefslogtreecommitdiffstats
path: root/abs/core/dbus/30-dbus
blob: 69d2660dae177c9821c80b2206a471624971ffe2 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

# launches a session dbus instance

dbuslaunch="`which dbus-launch 2>/dev/null`"
if [ -n "$dbuslaunch" ] && [ -x "$dbuslaunch" ] && [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
  eval `$dbuslaunch --sh-syntax --exit-with-session`
fi