wok-next rev 11089
dbus: Forgot 30-dbus in stuff.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Oct 17 02:43:08 2011 +0000 (2011-10-17) |
parents | e02c4bd5b855 |
children | 455fab64530b |
files | dbus/stuff/etc/X11/xinit/xinitrc.d/30-dbus |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dbus/stuff/etc/X11/xinit/xinitrc.d/30-dbus Mon Oct 17 02:43:08 2011 +0000 1.3 @@ -0,0 +1,9 @@ 1.4 +#!/bin/sh 1.5 + 1.6 +# launches a session dbus instance 1.7 + 1.8 +dbuslaunch="`which dbus-launch 2>/dev/null`" 1.9 +if [ -n "$dbuslaunch" ] && [ -x "$dbuslaunch" ] && [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then 1.10 + eval `$dbuslaunch --sh-syntax --exit-with-session` 1.11 +fi 1.12 +