mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-21 23:50:08 +01:00
10 lines
185 B
Bash
Executable file
10 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 -- "$@"
|