]> git.pld-linux.org Git - packages/acpid.git/blob - acpid-powersh_fix.patch
0036fe348855da279ba642098532641338560c21
[packages/acpid.git] / acpid-powersh_fix.patch
1 diff -urN acpid.orig/samples/acpi_handler.sh acpid-1.0.2/samples/acpi_handler.sh
2 --- acpid.orig/samples/acpi_handler.sh  2001-08-13 19:45:25.000000000 +0200
3 +++ acpid-1.0.2/samples/acpi_handler.sh 2003-09-22 21:07:13.974984824 +0200
4 @@ -11,6 +11,8 @@
5                 case "$2" in
6                         power)  /sbin/init 0
7                                 ;;
8 +                       sleep)  logger "ACPI sleep action on $2 is not defined"
9 +                               ;;
10                         *)      logger "ACPI action $2 is not defined"
11                                 ;;
12                 esac
13 diff -urN acpid.orig/samples/sample.conf acpid-1.0.2/samples/sample.conf
14 --- acpid.orig/samples/sample.conf      2001-08-16 23:39:00.000000000 +0200
15 +++ acpid-1.0.2/samples/sample.conf     2003-09-22 21:07:26.895020680 +0200
16 @@ -1,4 +1,4 @@
17  # This is a sample ACPID configuration
18  
19 -# event=button power.*
20 -# action=/usr/local/bin/power.sh "%e"
21 +# event=power
22 +# action=/usr/sbin/power.sh "`echo "%e" | sed -e "s,\/,\ ,"`"
This page took 0.02394 seconds and 2 git commands to generate.