/etc/rc.button should be the correct file. Now sure why does not work. But you can further check the scripts it calls. It should be like /usr/bin/button_pressed etc.

1 Like