[Pkg-acpi-devel] Bug#589920: acpi-support-base: minor typos in powerbtn-acpi-support.sh

Christoph Anton Mitterer calestyo at scientia.net
Thu Jul 22 09:00:22 UTC 2010

Package: acpi-support-base
Version: 0.137-3
Severity: minor
Tags: patch


I guess the attached patch, fixes some minor typos in /etc/acpi/powerbtn-acpi-support.sh .

btw: Since some time now, pressing the power button at the console
yields in an event (when using acpi_listen), but no shutdown happens anymore.
Is this intended?

-------------- next part --------------
--- /etc/acpi/powerbtn-acpi-support.sh	2010-03-19 09:20:25.000000000 +0100
+++ powerbtn-acpi-support.sh	2010-07-21 23:31:17.181832444 +0200
@@ -4,7 +4,7 @@
 # pressed. Loosely based on the sample that ships with the acpid package.
 # If the acpid sample is present as a real config file (as it was in earlier
 # versions of acpid), we skip this script. (Purging and reinstalling acpid
-# resolves this situation, or simply deleting /etc/acpi/events/powerbtn.)
+# resolves this situation, or simply deleting /etc/acpi/events/powerbtn.sh).
 if [ -f /etc/acpi/events/powerbtn -o -f /etc/acpi/events/powerbtn.dpkg-bak ] ; then 
 	logger Acpi-support not handling power button, acpid handler exists at /etc/acpi/events/powerbtn or /etc/acpi/events/powerbtn.dpkg-bak.
@@ -30,4 +30,3 @@
 	# Normal handling.
 	/sbin/shutdown -h -P now "Power button pressed"

More information about the Pkg-acpi-devel mailing list