dbus/00-start-message-bus.sh

7 lines
259 B
Bash
Raw Normal View History

2020-01-09 16:09:47 +08:00
## 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 --exit-with-session`
echo "D-Bus per-session daemon address is: $DBUS_SESSION_BUS_ADDRESS"
2019-12-13 15:11:40 +08:00
fi