hal/tools hal-system-power-hibernate,1.3,1.4

David Zeuthen david at freedesktop.org
Tue Sep 13 11:57:04 PDT 2005


Update of /cvs/hal/hal/tools
In directory gabe:/tmp/cvs-serv3136/tools

Modified Files:
	hal-system-power-hibernate 
Log Message:
2005-09-13  David Zeuthen  <davidz at redhat.com>

        * tools/hal-system-power-hibernate: Actually make this script work



Index: hal-system-power-hibernate
===================================================================
RCS file: /cvs/hal/hal/tools/hal-system-power-hibernate,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- hal-system-power-hibernate	12 Sep 2005 15:27:43 -0000	1.3
+++ hal-system-power-hibernate	13 Sep 2005 18:57:02 -0000	1.4
@@ -34,6 +34,7 @@
     else
         # TODO: add distro specific support
         unsupported
+    fi
 elif [ -f /etc/gentoo-release ] ; then
     # Try to use hibernate2 (if user has installed tools)
     if [ -x /usr/sbin/hibernate ] ; then
@@ -42,6 +43,7 @@
     else
         # TODO: add distro specific support
         unsupported
+    fi
 elif [ -f /etc/slackware-version ] ; then
     # Try to use hibernate2 (if user has installed tools)
     if [ -x /usr/sbin/hibernate ] ; then
@@ -49,6 +51,8 @@
         RET=$?
     else
         # TODO: add distro specific support
+	unsupported
+    fi
 elif [ -f /etc/debian_version ] ; then
     # Try to use hibernate2 (if user has installed tools)
     if [ -x /usr/sbin/hibernate ] ; then
@@ -57,6 +61,7 @@
     else
         # TODO: add distro specific support
         unsupported
+    fi
 else
     # Try to use hibernate2 (if user has installed tools)
     if [ -x /usr/sbin/hibernate ] ; then
@@ -65,6 +70,7 @@
     else
         # TODO: add distro specific support
         unknown_distro
+    fi
 fi 
 
 exit $RET




More information about the hal-commit mailing list