hal: Branch 'master'

David Zeuthen david at kemper.freedesktop.org
Mon Dec 4 10:43:18 PST 2006


 tools/linux/hal-system-power-suspend-linux |    3 +++
 1 files changed, 3 insertions(+)

New commits:
diff-tree 48e9e8ad6001521ff171451ddac3c47fa2499d1e (from 8fb1128494b678a51ae683e2c4fbd34d12a81082)
Author: S.Çağlar Onur <caglar at pardus.org.tr>
Date:   Mon Dec 4 13:43:10 2006 -0500

    add pm-suspend to linux/hal-system-power-suspend-linux
    
    Attached patch add missing pm-suspend into linux/hal-system-power-suspend
    before raw kernel interface like linux/hal-system-power-hibernate-linux.

diff --git a/tools/linux/hal-system-power-suspend-linux b/tools/linux/hal-system-power-suspend-linux
index 59cde73..590e1c7 100755
--- a/tools/linux/hal-system-power-suspend-linux
+++ b/tools/linux/hal-system-power-suspend-linux
@@ -86,6 +86,9 @@ else
 	elif [ -x "/usr/sbin/pmi" ] ; then
 	    /usr/sbin/pmi action suspend force
 	    RET=$?
+	elif [ -x "/usr/sbin/pm-suspend" ] ; then
+		/usr/sbin/pm-suspend
+		RET=$?
 	elif [ -w "/sys/power/state" ] ; then
 	    # Use the raw kernel sysfs interface
 	    echo "mem" > /sys/power/state


More information about the hal-commit mailing list