SOURCES: hal-pld_powersave.patch (NEW) - support per distro sucks
freetz
freetz at pld-linux.org
Thu Oct 13 20:33:26 CEST 2005
Author: freetz Date: Thu Oct 13 18:33:26 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- support per distro sucks
---- Files affected:
SOURCES:
hal-pld_powersave.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/hal-pld_powersave.patch
diff -u /dev/null SOURCES/hal-pld_powersave.patch:1.1
--- /dev/null Thu Oct 13 20:33:26 2005
+++ SOURCES/hal-pld_powersave.patch Thu Oct 13 20:33:21 2005
@@ -0,0 +1,36 @@
+diff -aurN hal-0.5.4.orig/tools/hal-system-power-hibernate hal-0.5.4/tools/hal-system-power-hibernate
+--- hal-0.5.4.orig/tools/hal-system-power-hibernate 2005-08-19 14:33:48.000000000 +0200
++++ hal-0.5.4/tools/hal-system-power-hibernate 2005-10-13 20:26:19.000000000 +0200
+@@ -13,7 +13,7 @@
+ }
+
+
+-if [ -f /etc/altlinux-release ] ; then
++if [ -f /etc/pld-release ] ; then
+ if [ -x /usr/bin/powersave ] ; then
+ /usr/bin/powersave --suspend-to-disk
+ RET=$?
+diff -aurN hal-0.5.4.orig/tools/hal-system-power-set-power-save hal-0.5.4/tools/hal-system-power-set-power-save
+--- hal-0.5.4.orig/tools/hal-system-power-set-power-save 2005-08-19 14:33:48.000000000 +0200
++++ hal-0.5.4/tools/hal-system-power-set-power-save 2005-10-13 20:26:49.000000000 +0200
+@@ -17,7 +17,7 @@
+ }
+
+
+-if [ -f /etc/altlinux-release ] ; then
++if [ -f /etc/pld-release ] ; then
+ if [ -x /usr/bin/powersave ] ; then
+ if [ $value = "true" ]; then
+ /usr/bin/powersave -e Powersave
+diff -aurN hal-0.5.4.orig/tools/hal-system-power-suspend hal-0.5.4/tools/hal-system-power-suspend
+--- hal-0.5.4.orig/tools/hal-system-power-suspend 2005-08-19 14:33:48.000000000 +0200
++++ hal-0.5.4/tools/hal-system-power-suspend 2005-10-13 20:27:07.000000000 +0200
+@@ -20,7 +20,7 @@
+
+ read seconds_to_sleep
+
+-if [ -f /etc/altlinux-release ] ; then
++if [ -f /etc/pld-release ] ; then
+ if [ -x /usr/bin/powersave ] ; then
+ /usr/bin/powersave --suspend-to-ram
+ RET=$?
================================================================
More information about the pld-cvs-commit
mailing list