Contents of /trunk/hal/patches/hal-0.5.7.1-hibernate.patch
Parent Directory | Revision Log
Revision 82 -
(show annotations)
(download)
Fri Oct 20 18:01:50 2006 UTC (17 years, 11 months ago) by niro
File size: 405 byte(s)
Fri Oct 20 18:01:50 2006 UTC (17 years, 11 months ago) by niro
File size: 405 byte(s)
patches and files for hal-0.5.7.1-r1
1 | --- tools/hal-system-power-suspend 2006-06-05 23:49:08.000000000 -0500 |
2 | +++ tools/hal-system-power-suspend 2006-06-05 23:50:49.000000000 -0500 |
3 | @@ -61,6 +61,9 @@ |
4 | # Use the raw kernel sysfs interface |
5 | echo "mem" > /sys/power/state |
6 | RET=$? |
7 | + elif [ -x "/usr/sbin/hibernate-ram" ] ; then |
8 | + /usr/sbin/hibernate-ram |
9 | + RET=$? |
10 | else |
11 | # TODO: add other scripts support |
12 | unsupported |