Hello all,
I was wondering if it is possible to run some sort of script when the power button on the Orange Pi PC is pressed?
I was thinking I could use this to run a safe shutdown script of some kind, rather than having to SSH in every time.
I've tried looking into the GPIOs but I could never get the button to show up in the list of available inputs. Any advice?
Thanks for any input.