Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #crontab
- # disable/enable wireles interface (@wifi-iface)/(client)
- # this is to disable (at 21:10 everyday)
- 10 21 * * * uci set wireless.@wifi-iface[3].disabled='1' ; wifi
- # and this to enable (...)
- 13 21 * * * uci delete wireless.@wifi-iface[3].disabled ; wifi
- # =================================
- # disable/enable ap (...)
- 10 21 * * * uci set wireless.@wifi-iface[1].disabled='1'; wifi
- 13 21 * * * uci set wireless.@wifi-iface[1].disabled='0'; wifi
- # careful; if you enable 2+ ifaces at the same time = problems
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement