8 lines
258 B
Bash
8 lines
258 B
Bash
#!/bin/sh
|
|
## test for an existing bus daemon, just to be safe
|
|
if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
|
|
## if not found, launch a new one
|
|
eval `dbus-launch --sh-syntax`
|
|
echo "D-Bus per-session daemon address is: $DBUS_SESSION_BUS_ADDRESS"
|
|
fi
|