I have some basic scripts that we use to switch between two different hotspots. They are simply enabling an disabling various items and changing SSID. On 6.43.13 they work great! Upgrade to 6.44.1 and they don’t execute at all. You can select to RUN SCRIPT and the RUN COUNT increases by 1 but none of the settings change. Downgrade the router back to 6.43.13 and scripts start working flawlessly. If I copy/paste into terminal window the commands work just fine on 6.44.1
Script 1:
/ip dhcp-client
set 0 disabled=yes
/ip route
set 2 disabled=no
/interface wireless
set [ find default-name=wlan1 ] disabled=no name=wlan2 ssid=ATT4G security-profile=default
Script 2:
/ip dhcp-client
set 0 disabled=no
/ip route
set 2 disabled=yes
/interface wireless
set [ find default-name=wlan1 ] disabled=no name=wlan2 ssid=chris security-profile=chris
set 0 and set 2 have been working fine since 3.x days. As long as the interface # listed on PRINT doesn’t change I’m able to use it without issue on 6.43.13 in a script or under terminal mode
Using numbered items instead of [find …] was never correct.
Maybe it finally stopped working completely, so that the situation is clear.
Use a proper [find] command, add something unique to each item (e.g. a comment) if required.
Original post did mention “If I copy/paste into terminal window the commands work just fine on 6.44.1” … So it still works just not in the script.
Permissions maybe?