void-packages/srcpkgs/dbus/files/30-dbus-xinit

10 lines
241 B
Text
Raw Normal View History

2011-06-24 20:50:30 +00:00
#!/bin/sh
# 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