diff options
author | root <root@rshg054.dnsready.net> | 2012-12-06 02:18:52 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-12-06 02:18:52 -0800 |
commit | 3f0c4efbf72adbd091565fcc39ad1d09c92be5d0 (patch) | |
tree | f9b2abf9234090740a20840b7ca92991803a9316 /core/dbus/30-dbus | |
parent | 947a049195183934ba5dffc131f9512fe253f4db (diff) |
Thu Dec 6 02:15:36 PST 2012
Diffstat (limited to 'core/dbus/30-dbus')
-rw-r--r-- | core/dbus/30-dbus | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/dbus/30-dbus b/core/dbus/30-dbus new file mode 100644 index 000000000..69d2660da --- /dev/null +++ b/core/dbus/30-dbus @@ -0,0 +1,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 |