Using a Raspberry Pi 3B+'s GPIO pinout, what would be the best way to add a button that can interact with the balenaOS to “Halt” balenaOS. Raspberry pi is able to Halt in raspbian:
Essentially it’s a
sudo shutdown -h now command. I’m not sure that this would work for BalenaOS.
What are your thoughts?