From e16d633dbf61aa3fb83d42a7e09bb9897954c9be Mon Sep 17 00:00:00 2001 From: sibel Date: Tue, 19 Apr 2011 07:49:06 +0200 Subject: dbus, maj 1.4.8 --- base/dbus/80-dbus | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 base/dbus/80-dbus (limited to 'base/dbus/80-dbus') diff --git a/base/dbus/80-dbus b/base/dbus/80-dbus new file mode 100644 index 000000000..676d99551 --- /dev/null +++ b/base/dbus/80-dbus @@ -0,0 +1,12 @@ +#!/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 + if [ -n "$command" ]; then + command="$dbuslaunch --exit-with-session $command" + else + eval `$dbuslaunch --sh-syntax --exit-with-session` + fi +fi -- cgit v1.2.3-70-g09d2