1 # get standard environment, filters and checks
14 # hackery for dbus-based environments
16 unset DBUS_SESSION_BUS_PID DBUS_SESSION_BUS_ADDRESS
17 if which dbus-launch >/dev/null 2>&1
19 eval `dbus-launch 2>/dev/null | grep '^DBUS_SESSION_BUS'`
22 # general trap handler cleanup routine for qt checkers
25 # if we started a dbus-daemon above, we should clean it up
26 [ -z "$DBUS_SESSION_BUS_PID" ] || kill $DBUS_SESSION_BUS_PID
27 unset DBUS_SESSION_BUS_PID DBUS_SESSION_BUS_ADDRESS