FEATURE REQ: WiFi on/off with side switch?

Both the openvpn & wireguard toggle scripts used it, so seemed like the done thing. :wink:

Each radio state change gets posted to the log anyway, so no benefit of another line?

Oh, well. I was thinking it might be related to firewall states needing a few ticks to properly reload or the like.

Re: logs: I like to ensure my scripts log their actions for potential/future cases of troubleshooting. A separate item makes logwalking w/ logread -e a touch easier. YMMV.

Thanks so much for this guide. It works perfect on my Gl MT300 V2 :star_struck:

2 Likes

Related:

Ok but with this script I face a problem, I need now guest2G only and ok the script works perfectly .... except that internet doesn't work on it.