mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-09-16 06:40:41 +00:00
11 lines
189 B
Bash
Executable file
11 lines
189 B
Bash
Executable file
#!/bin/sh
|
|
|
|
if ! which dbus-run-session >/dev/null 2>&1; then
|
|
eval `dbus-launch --sh-syntax`
|
|
trap "kill $DBUS_SESSION_BUS_PID" EXIT
|
|
"$@"
|
|
exit $?
|
|
fi
|
|
|
|
dbus-run-session -- "$@"
|