hal/tools hal-system-power-set-power-save,1.4,1.5

David Zeuthen david at kemper.freedesktop.org
Fri Feb 24 08:47:13 PST 2006


Update of /cvs/hal/hal/tools
In directory kemper:/tmp/cvs-serv28431/tools

Modified Files:
	hal-system-power-set-power-save 
Log Message:
2006-02-24  David Zeuthen  <davidz at redhat.com>

        * tools/hal-system-power-set-power-save: Fix for
        /usr/sbin/pm-powersave for Fedora pm-utils 0.10-1



Index: hal-system-power-set-power-save
===================================================================
RCS file: /cvs/hal/hal/tools/hal-system-power-set-power-save,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- hal-system-power-set-power-save	29 Nov 2005 17:47:54 -0000	1.4
+++ hal-system-power-set-power-save	24 Feb 2006 16:47:11 -0000	1.5
@@ -25,10 +25,10 @@
 elif [ -f /etc/redhat-release ] || [ -f /etc/fedora-release ] ; then
 	if [ -x "/usr/sbin/pm-powersave" ] ; then
 		if [ $value = "true" ]; then
-			/usr/sbin/pm-powersave on
+			/usr/sbin/pm-powersave true
 			RET=$?
 		elif [ $value = "false" ]; then
-			/usr/sbin/pm-powersave off
+			/usr/sbin/pm-powersave false
 			RET=$?
 		fi
 	else




More information about the hal-commit mailing list