Magellan Linux

Contents of /trunk/dbus/30-dbus

Parent Directory Parent Directory | Revision Log Revision Log


Revision 15 - (show annotations) (download)
Mon May 2 21:15:16 2005 UTC (19 years ago) by niro
File size: 243 byte(s)
initial release

1 #!/bin/bash
2
3 # launches a session dbus instance
4
5 dbuslaunch="`which dbus-launch 2>/dev/null`"
6 if [ -n "$dbuslaunch" ] && [ -x "$dbuslaunch" ] && [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
7 eval `$dbuslaunch --sh-syntax --exit-with-session`
8 fi
9