I think I'm missing something, and I wonder if Robert C. Nelson would chime in. I'm trying to EN-able (not disable) the power button to run a custom script when pressed. I've searched online and have found a lot of related questions but not an approach that I can get to work...
I'm running kernel pixelite 4.1.34-bone-rt-r24, inside of a distro based off of the wheezy console image of 2015-11-03.
The systemd rules seem to DISable the power button (I think), and they are present on my system. But commenting them out doesn't seem to re-enable the functionality. Fwiw I have acpid installed and active, but it doesn't seem to work.
Thanks in advance for any pointers you (or anyone else) could provide,
Dave