I have an RB2011UiAS router and I want Upgrade that router firmware Automatically I use this script on my router but it's not working correctly
Code: Select all
:global Var1
:global Var2
:set Var1 \"\$[/system package get system version]"
:set Var2 \"\$[/system routerboard get current-firmware]"
:if (\$Var1>\$Var2) do={/system routerboard upgrade:
/system reboot;
}