GL-SFT1200 Use Mode Switch for WLAN ON/OFF


Is it possible to use the mode switch to switch the whole WLAN on/off and how can I realise it?

Thanks for Help.

You can modify the actions executed by the switch by modifying the /etc/rc.button/switch script.

Hi, thanks for your answere.
Unlikly there is no “Switch” in /etc/Rc.Button:


Can I edit the right file with Nano? and what have I write down there?
on my Rapsberry I use the command:

$ sudo rfkill (un)block WLAN

On my GL.Inet there is something missing for rfkill:

Thanks again.

It is BTN_1. Sorry, some models are named differently.