FS#30003 - [acpid] handler.sh takes precedence over custom event handlers.
Attached to Project:
Community Packages
Opened by Nolan (sneakin) - Thursday, 24 May 2012, 12:34 GMT
Last edited by Sébastien Luttringer (seblu) - Friday, 25 May 2012, 11:53 GMT
Opened by Nolan (sneakin) - Thursday, 24 May 2012, 12:34 GMT
Last edited by Sébastien Luttringer (seblu) - Friday, 25 May 2012, 11:53 GMT
|
Details
Description: acpid's handler.sh takes precedence over custom
event handlers. It seems as though the "anything" event
handler gets called in addition to custom handlers. Now I
can't make the power button suspend and NOT shutdown.
Additional info: * package version(s): latest in repository * config and/or log files etc. Steps to reproduce: 1. Create /etc/acpid/events/power so it contains: event=button/power action=pm-suspend 2. Restart acpid 3. Press power button 4. Expect suspend, got suspend followed by shutdown I noticed an explicit call to `power-off`was added to handler.sh. My assumption that custom handlers override may be wrong. |
This task depends upon
Modifiy the default handler. Replace poweroff in handler.sh by what you want to do. This is pure configuration.