/usr/lib/pm-utils/sleep.d/70QuteCom is in qutecom 2.2.1+dfsg1-4ubuntu2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | #!/bin/bash
. /usr/lib/pm-utils/functions
suspend_qc() {
# Tell QuteCom that the system shuts down
#dbus-send --system \
# --print-reply --reply-timeout=200 \
# --dest=org.qutecom \
# / \
# org.qutecom.Wakeup.wakeup
true
}
resume_qc() {
# Wake up QuteCom and make it do a new connection
dbus-send --system \
/ \
org.qutecom.Wakeup.wakeup
}
case "$1" in
hibernate|suspend)
suspend_qc
;;
thaw|resume)
resume_qc
;;
*)
;;
esac
exit $?
|