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
|
fi
|
||||||
|
|
||||||
if [ x"$action" == x"suspend" ]; then
|
if [ x"$action" == x"suspend" ]; then
|
||||||
dbus_send --system --print-reply \
|
dbus-send --system --print-reply \
|
||||||
--dest=org.freedesktop.NetworkManager \
|
--dest=org.freedesktop.NetworkManager \
|
||||||
/org/freedesktop/NetworkManager \
|
/org/freedesktop/NetworkManager \
|
||||||
org.freedesktop.NetworkManager.Sleep boolean:true || \
|
org.freedesktop.NetworkManager.Sleep boolean:true || \
|
||||||
@ -33,7 +33,7 @@ else
|
|||||||
for mod in `cat /var/run/qubes/suspend-modules-loaded`; do
|
for mod in `cat /var/run/qubes/suspend-modules-loaded`; do
|
||||||
modprobe $mod
|
modprobe $mod
|
||||||
done
|
done
|
||||||
dbus_send --system --print-reply \
|
dbus-send --system --print-reply \
|
||||||
--dest=org.freedesktop.NetworkManager \
|
--dest=org.freedesktop.NetworkManager \
|
||||||
/org/freedesktop/NetworkManager \
|
/org/freedesktop/NetworkManager \
|
||||||
org.freedesktop.NetworkManager.Sleep boolean:false || \
|
org.freedesktop.NetworkManager.Sleep boolean:false || \
|
||||||
|
Loading…
Reference in New Issue
Block a user