mirror of
https://github.com/pothi/mikrotik-scripts.git
synced 2025-07-05 04:04:32 +02:00
Re-arrange scripts
This commit is contained in:
parent
d9e962b537
commit
732a3adc66
3 changed files with 0 additions and 0 deletions
|
@ -1,20 +0,0 @@
|
|||
# Ref: https://gist.github.com/sebastian13/47e788371474d73552593b621eeacd33
|
||||
|
||||
:log info message=("mode button was pressed");
|
||||
:local i
|
||||
|
||||
:if ( [/int wir get 0 disabled ] = true ) do={
|
||||
:foreach i in= [ /int wir find ] do={ :int wir enable $i };
|
||||
} else={
|
||||
:foreach i in= [ /int wir find ] do={ :int wir disable $i };
|
||||
}
|
||||
|
||||
# Wifi disable
|
||||
# :if ( [/int wir get 0 disabled ] = true ) do={} else={
|
||||
# :foreach i in= [ /int wir find ] do={ :int wir disable $i };
|
||||
# }
|
||||
|
||||
# Wifi enable
|
||||
# :if ( [/int wir get 0 disabled ] = true ) do={
|
||||
# :foreach i in= [ /int wir find ] do={ :int wir enable $i };
|
||||
# }
|
Loading…
Add table
Add a link
Reference in a new issue