Import script works from CLI, but not from a script?

This seemed to work in a system script, pre-6.x:

/import script.rsc

Now, any script with an import command works just fine from the CLI (ie. manually entering “/import script.rsc”) but does not run within a system script.

No error, execution just stops at the import command.

Is there a new way to do this, or is this broken and/or disabled for security reasons?

Thanks in advance!

confirmed, it do not working also within remote ssh command like

ssh root@mtkbox "/import config_firewall"

for ssh it working only with terminal allocated this ugly way

ssh -t root@mtkbox "/import config_firewall;/quit"

6.2 update fixed both problems.

Thanks for checking jirif. Confirmed on this end too.