Improve wifi enable / disable scripts; update docs

This commit is contained in:
Pothi Kalimuthu 2023-09-04 19:01:38 +05:30
parent 0b07cdb7ac
commit cc9206893b
No known key found for this signature in database
GPG key ID: 08202A469C2D0E06
4 changed files with 16 additions and 6 deletions

View file

@ -6,6 +6,7 @@
/system scheduler
add comment="Shutdown WiFi @night to avoid electronic interference!" interval=1d name="WiFi Disable" on-event=\
"/int wifiwave2 disable [find]; /int wireless disable [find];" policy=ftp,reboot,read,write,policy,test start-date=mar/05/2022 start-time=00:04:00
":do { /int wifiwave2 disable [find] } on-error={}; :do { /int wireless disable [find] } on-error={}"\
policy=ftp,reboot,read,write,policy,test start-date=sep/03/2023 start-time=23:04:00
# /system routerboard mode-button set enabled=yes on-event=":log info \"Mode button pressed\"; /int wifiwave2 enable [find]; /int wireless enable [find];"