Kano Power Board Script

Hi everyone! I’m currently using a secondhand Kano tablet kit to build a steamlink. I’d really like to use the existing Kano power board as my power button rather than buy a power cable with an on-off switch. Unfortunately, the power button attached to the power board does not seem to work outside of the Kano OS environment.

Does anyone have any instructions or recommendations as to what sort of commands/scripts I would need to run in terminal to give it functionality within Raspbian OS? I’ve done some googling but no luck so far.

Any help would be much appreciated!