]>
Commit | Line | Data |
---|---|---|
921dad97 | 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 | |
f5b9818c | 3 | +++ acpid-1.0.2/samples/acpi_handler.sh 2003-09-22 21:07:13.974984824 +0200 |
1294fa0c | 4 | @@ -11,6 +11,8 @@ |
5 | case "$2" in | |
6 | power) /sbin/init 0 | |
f5b9818c | 7 | ;; |
f5b9818c | 8 | + sleep) logger "ACPI sleep action on $2 is not defined" |
9 | + ;; | |
1294fa0c | 10 | *) logger "ACPI action $2 is not defined" |
11 | ;; | |
12 | esac | |
921dad97 | 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 | |
f5b9818c | 15 | +++ acpid-1.0.2/samples/sample.conf 2003-09-22 21:07:26.895020680 +0200 |
921dad97 | 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 | |
f5b9818c | 22 | +# action=/usr/sbin/power.sh "`echo "%e" | sed -e "s,\/,\ ,"`" |