Community discussions

MUM Europe 2020
 
Zebble
newbie
Topic Author
Posts: 45
Joined: Mon Oct 17, 2011 4:07 am

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

Wed Jul 31, 2013 11:11 pm

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!
 
jirif
just joined
Posts: 9
Joined: Wed May 29, 2013 10:49 am

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

Fri Aug 02, 2013 10:38 am

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"
 
jirif
just joined
Posts: 9
Joined: Wed May 29, 2013 10:49 am

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

Tue Aug 06, 2013 9:14 am

6.2 update fixed both problems.
 
Zebble
newbie
Topic Author
Posts: 45
Joined: Mon Oct 17, 2011 4:07 am

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

Tue Aug 06, 2013 5:36 pm

6.2 update fixed both problems.
Thanks for checking jirif. Confirmed on this end too.

Who is online

Users browsing this forum: No registered users and 12 guests