blob: 4dc294c2cb913b52d9c3004c88436bc0bff7a200 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/sh
#Try for common tools
if [ -x "/sbin/pm-hibernate" ] ; then
/sbin/pm-hibernate
exit $?
elif [ -x "/usr/sbin/pm-hibernate" ] ; then
/usr/sbin/pm-hibernate
exit $?
else
exit 1
fi
|