I don't remember the exact version but I guess it was somewhat around 6.26. Why it is important? It is just text change, nothing substantial.
Well, like so but how you use the script for provisioning, it does not perform the whole I would be a mistake and a break
I was looking for and not in "/ interface wireless info get" explicitly written if it is above / Ce And I just realized that the problem is even more fun ... syntax has changed / interface wireless info.
It seems to me the easier will first upload to supported versions RO and then set anything
I guess we could close the topic, it does not make sense
This is my fagment script (the name for the interface is suitable before) so you know what's going on
:if ( :len([find [/interface wireless info get wlan1-gateway supported-bands ] "2ghz-g"])>1 ) do={ /interface wireless set $in band=2ghz-b/g mode=station disabled=yes country=poland wireless-protocol=any ; }
:if ( :len([find [/interface wireless info get wlan1-gateway supported-bands ] "2ghz-n"])>1 ) do={ /interface wireless set $in band=2ghz-b/g/n channel-width=20/40mhz-ht-above mode=station disabled=yes country=poland wireless-protocol=any ; }
:if ( :len([find [/interface wireless info get wlan1-gateway supported-bands ] "5ghz-a"])>1 ) do={ /interface wireless set $in band=5ghz-a mode=station disabled=yes country=poland wireless-protocol=any ; }
:if ( :len([find [/interface wireless info get wlan1-gateway supported-bands ] "5ghz-n"])>1 ) do={ /interface wireless set $in band=5ghz-a/n channel-width=20/40mhz-ht-above mode=station disabled=yes country=poland wireless-protocol=any ; }