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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy