Customize Alix front panel button
-
Is it possible to customize the behavior of the small reset button on the front of the Alix boards? I'd like it to perform a clean shutdown and reboot when pressed.
-
https://github.com/pfsense/pfsense/blob/master/etc/rc.bootup#L137
https://github.com/pfsense/pfsense/blob/master/etc/inc/system.inc#L1529
https://github.com/pfsense/pfsense-tools/blob/master/pfPorts/alix_reset_button/files/alix_reset_button.c
There isn't a constant polling going on for that button, though perhaps you could setup a minicron process to run the poll every few seconds