Startup script behavior

In latest RoS version something changed in script behavior when it is configured to run on startup.

By example very simple one line script. It will log something if interface with such name is found.
:log error [/interface find name=“ether1”]

If you add such script and run it, you will see “something” in log file that is right, but if you configure this script to run on startup via scheduler, it will log nothing.

Can anybody check it?

Resolved by adding to the start

:local continue true;
:while ($continue) do {
:local intA [/interface find name=“ether1”];
:if ($intA !=“”) do={:set continue false;}
:delay
}