]> git.pld-linux.org Git - packages/acpid.git/commitdiff
- changes to make possible use with current kernels
authorPaweł Gołaszewski <blues@pld-linux.org>
Mon, 1 Sep 2003 00:19:29 +0000 (00:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    acpid-powersh_fix.patch -> 1.1

acpid-powersh_fix.patch [new file with mode: 0644]

diff --git a/acpid-powersh_fix.patch b/acpid-powersh_fix.patch
new file mode 100644 (file)
index 0000000..ec065cf
--- /dev/null
@@ -0,0 +1,27 @@
+--- ./samples/acpi_handler.sh.org      Mon Aug 13 19:45:25 2001
++++ ./samples/acpi_handler.sh  Mon Sep  1 01:38:14 2003
+@@ -7,14 +7,22 @@
+ set $*
+ case "$1" in
+-      button)
++      button/power)
+               case "$2" in
+-                      power)  /sbin/init 0
++                      PWRF)   /sbin/init 0
+                               ;;
+                       *)      logger "ACPI action $2 is not defined"
+                               ;;
+               esac
+               ;;
++      button/sleep)
++              case "$2" in
++                      SLPB)   logger "ACPI sleep action on $2 is not defined"
++                              ;;
++                      *)      logger "ACPI action $2 is not defined"
++                      ;;
++              esac
++              ;;
+       *)
+               logger "ACPI group $1 is not defined"
This page took 0.097093 seconds and 4 git commands to generate.