From 8999fa1750304fb2367fb7743e49e013405e88be Mon Sep 17 00:00:00 2001 From: root Date: Sat, 25 Jun 2011 23:07:08 +0000 Subject: Sat Jun 25 23:07:08 UTC 2011 --- testing/dbus/30-dbus | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 testing/dbus/30-dbus (limited to 'testing/dbus/30-dbus') diff --git a/testing/dbus/30-dbus b/testing/dbus/30-dbus new file mode 100644 index 000000000..603e92d3e --- /dev/null +++ b/testing/dbus/30-dbus @@ -0,0 +1,9 @@ +#!/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