mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 06:07:15 +08:00
11 lines
228 B
Bash
11 lines
228 B
Bash
#!/bin/sh
|
|
|
|
# launches a session dbus instance
|
|
|
|
dbuslaunch="$(which dbus-launch 2>/dev/null)"
|
|
|
|
if [ -x "${dbuslaunch}" ] && [ -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then
|
|
eval $("${dbuslaunch}" --sh-syntax --exit-with-session)
|
|
fi
|
|
|