blob: 202e3a084835ec2999ca2b50fc585e1abfff037b (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/sh
. "${PM_FUNCTIONS}"
[ -e "${INHIBIT}" ] && return 1
sync;sync;sync;
case $1 in
suspend|hibernate|suspend_hybrid) "do_$1" ;;
resume|thaw) exit 0 ;;
*) exit 1 ;;
esac
exit $?
|