9 lines
241 B
Bash
9 lines
241 B
Bash
#!/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
|
|
|