Your message dated Mon, 16 Aug 2010 15:52:49 +0200
with message-id <[email protected]>
and subject line Re: [Pkg-acpi-devel] Bug#589920: acpi-support-base: minor
typos in powerbtn-acpi-support.sh
has caused the Debian Bug report #589920,
regarding acpi-support-base: minor typos in powerbtn-acpi-support.sh
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
589920: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589920
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: acpi-support-base
Version: 0.137-3
Severity: minor
Tags: patch
Hi.
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?
Cheers,
Chris.
--- /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"
fi
-
--- End Message ---
--- Begin Message ---
On Thu, Jul 22, 2010 at 11:00:22AM +0200, Christoph Anton Mitterer wrote:
> I guess the attached patch, fixes some minor typos in
> /etc/acpi/powerbtn-acpi-support.sh .
I don't agree sorry.
> 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?
No, but it depends on which package actually handles the power button event.
There's acpi-support-base that can do it, but it can also leave this to some
higher level software in your desktop environment. Now if that one i snot
configured to react on the button, nothing will happen.
> -# resolves this situation, or simply deleting /etc/acpi/events/powerbtn.)
> +# resolves this situation, or simply deleting /etc/acpi/events/powerbtn.sh).
There are no scripts in the event subdir only event files, so there is no
reason to add ".sh".
> if [ -f /etc/acpi/events/powerbtn -o -f /etc/acpi/events/powerbtn.dpkg-bak ]
> ; then
As you can see here the name is right, or do I miss something?
Michael
--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
ICQ 179140304, AIM/Yahoo/Skype michaelmeskes, Jabber [email protected]
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL
--- End Message ---