Add actions for mode button

Hi

is there a way to add actions to the Mode button for GL-AR750S-Ext (Slate)?

I would like to turn shadow socks client connection on and off using the Mode button.

Right now, it can only turn OpenVPN and WireGuard on and off.

Thanks

First you can set it up to turn openvpn on and off.

Then find the script to edit. The scripts are in /etc/rc.button and /etc/init.d/