Hi @all,
i built this:
https://www.instructables.com/DIY-Lyric-Monitor-for-Stage/ running armbian-OS.
In order to have an external power switch, i made this:
using pin 7 and gnd and it works! the script is successfully doing a shutdown. but, to run that program ("pushbuttons.c" compiled to "pushbuttons") in anything other than root, he wants the password. and i really dont know how to add it to autostart (in "settings"), because i dont know how to fill in the "command" field. like "sudo ./program"? Thank you so much für any help.