From 3f0c4efbf72adbd091565fcc39ad1d09c92be5d0 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 6 Dec 2012 02:18:52 -0800 Subject: Thu Dec 6 02:15:36 PST 2012 --- core/dbus/30-dbus | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 core/dbus/30-dbus (limited to 'core/dbus/30-dbus') 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 -- cgit v1.2.3-54-g00ecf