51abb471b9
Move suspend handling into qubesd.
13 lines
308 B
Bash
Executable File
13 lines
308 B
Bash
Executable File
#!/bin/sh
|
|
|
|
case "$1" in
|
|
suspend|hibernate)
|
|
qubesd-query -e --fail -c /var/run/qubesd.internal.sock \
|
|
dom0 internal.SuspendPre dom0
|
|
;;
|
|
resume|thaw)
|
|
qubesd-query -e --fail -c /var/run/qubesd.internal.sock \
|
|
dom0 internal.SuspendPost dom0
|
|
;;
|
|
esac
|