SOURCES: acpid.halt_on_power_button.conf - fix default event patte...

pluto pluto at pld-linux.org
Tue Nov 8 18:51:11 CET 2005


Author: pluto                        Date: Tue Nov  8 17:51:11 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix default event pattern and action.
  current 2.6 kernel reports "button/power PWRF ... ...".
  tested on i686 and amd64. works fine.

---- Files affected:
SOURCES:
   acpid.halt_on_power_button.conf (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/acpid.halt_on_power_button.conf
diff -u SOURCES/acpid.halt_on_power_button.conf:1.1 SOURCES/acpid.halt_on_power_button.conf:1.2
--- SOURCES/acpid.halt_on_power_button.conf:1.1	Tue Mar 30 13:10:18 2004
+++ SOURCES/acpid.halt_on_power_button.conf	Tue Nov  8 18:51:05 2005
@@ -1,7 +1,7 @@
 # This is a sample ACPID configuration 
 
 # event=power
-event=button power.*
+event=button/power.*
 
-# action=/usr/sbin/power.sh "`echo "%e" | sed -e "s,\/,\ ,"`"
-action=/usr/sbin/power.sh "%e"
\ No newline at end of file
+action=/usr/sbin/power.sh "`echo "%e" | sed -e "s,\/,\ ,"`"
+# action=/usr/sbin/power.sh "%e"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/acpid.halt_on_power_button.conf?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list