suspend: fix dbus-send invocation
This commit is contained in:
parent
dc88dc524c
commit
969122cf4f
@ -12,7 +12,7 @@ if [ -r /rw/config/suspend-module-blacklist ]; then
|
||||
fi
|
||||
|
||||
if [ x"$action" == x"suspend" ]; then
|
||||
dbus_send --system --print-reply \
|
||||
dbus-send --system --print-reply \
|
||||
--dest=org.freedesktop.NetworkManager \
|
||||
/org/freedesktop/NetworkManager \
|
||||
org.freedesktop.NetworkManager.Sleep boolean:true || \
|
||||
@ -33,8 +33,8 @@ else
|
||||
for mod in `cat /var/run/qubes/suspend-modules-loaded`; do
|
||||
modprobe $mod
|
||||
done
|
||||
dbus_send --system --print-reply \
|
||||
--dest=org.freedesktop.NetworkManager \
|
||||
dbus-send --system --print-reply \
|
||||
--dest=org.freedesktop.NetworkManager \
|
||||
/org/freedesktop/NetworkManager \
|
||||
org.freedesktop.NetworkManager.Sleep boolean:false || \
|
||||
{ [ -x /bin/systemctl ] && systemctl start NetworkManager.service; } || service qubes-core-netvm start
|
||||
|
Loading…
Reference in New Issue
Block a user