Lines 62-67
Link Here
|
62 |
elif [ -x "/usr/sbin/pmi" ] ; then |
62 |
elif [ -x "/usr/sbin/pmi" ] ; then |
63 |
/usr/sbin/pmi action suspend force |
63 |
/usr/sbin/pmi action suspend force |
64 |
RET=$? |
64 |
RET=$? |
|
|
65 |
elif [ -x "/usr/sbin/hibernate-ram" ] ; then |
66 |
/usr/sbin/hibernate-ram |
67 |
RET=$? |
65 |
elif [ -w "/sys/power/state" ] ; then |
68 |
elif [ -w "/sys/power/state" ] ; then |
66 |
# Use the raw kernel sysfs interface |
69 |
# Use the raw kernel sysfs interface |
67 |
echo "mem" > /sys/power/state |
70 |
echo "mem" > /sys/power/state |