You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/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
|