hello
i need script for : enable interface x if interface x is disabled and dasable interface x if interface x is enabled (for buttom mode)
please help me and send this script
thanks.
please help me
Just put the name of your interface:
if ([/interface get [find name=NAME] disabled] = no) do={ [/interface set [find name=NAME] disabled=yes] } else={[/interface set [find name=NAME] disabled=no] }
And this is how to use the button with scripting:
https://wiki.mikrotik.com/wiki/Manual:RouterBOARD_settings#Mode_button