mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-21 02:04:17 +00:00
11 lines
185 B
Bash
Executable file
11 lines
185 B
Bash
Executable file
#!/bin/sh
|
|
|
|
if ! which dbus-run-session &>/dev/null; then
|
|
eval `dbus-launch --sh-syntax`
|
|
trap "kill $DBUS_SESSION_BUS_PID" EXIT
|
|
"$@"
|
|
exit $?
|
|
fi
|
|
|
|
dbus-run-session -- "$@"
|