How to switch between tethering and WiFi bridge using physical switch

Hi,
I would like to use the physical switch on my GL-MT300N-V2 to switch between tethering and wifi bridge.
I tried to have a look and I found out that the switch can be controlled via /etc/init.d/initswitch, but I would need some direction from here.
Many thanks!

1 Like