rpms/pm-utils/devel pm-utils-99hd-apm-restore,1.4,1.5
Till Maas (till)
fedora-extras-commits at redhat.com
Wed Jan 2 17:05:26 UTC 2008
Author: till
Update of /cvs/pkgs/rpms/pm-utils/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29004
Modified Files:
pm-utils-99hd-apm-restore
Log Message:
make sure the hd apm statefile exists
Index: pm-utils-99hd-apm-restore
===================================================================
RCS file: /cvs/pkgs/rpms/pm-utils/devel/pm-utils-99hd-apm-restore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- pm-utils-99hd-apm-restore 2 Jan 2008 16:56:36 -0000 1.4
+++ pm-utils-99hd-apm-restore 2 Jan 2008 17:04:33 -0000 1.5
@@ -22,6 +22,7 @@
case "$1" in
hibernate|suspend)
rm -f ${HD_APM_STATEFILE}
+ touch ${HD_APM_STATEFILE}
for DEVICE in ${HD_APM_DEVICES}
do
HD_APM_FEATURE=$(hdparm -I /dev/sda | grep "Advanced Power Management feature set")
More information about the fedora-extras-commits
mailing list