Both the openvpn & wireguard toggle scripts used it, so seemed like the done thing.
Each radio state change gets posted to the log anyway, so no benefit of another line?
Both the openvpn & wireguard toggle scripts used it, so seemed like the done thing.
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
Related: