I have been designing a simple program that generates a script file to be imported in to a fully reset (i.e. no defaults) Mikrotik router.
However when I try to import the rsc file generated by the program I get this error:
Code: Select all
expected command name (line 1 column 1)
Here are the first few lines of text in the rsc:
Code: Select all
:log info "**** Starting auto-setup script ****"
:log info "Configuring log to file..."
/system logging
action add target=disk name=ScriptLog disk-file-name=ScriptLog disk-file-count=1
add action=ScriptLog topics=script
:log info "Creating bridge interface..."
/interface bridge
add arp=proxy-arp name=bridge-LAN
Here is the output of an import verbose=yes command:
Code: Select all
#line 1
▒▒▒:log info "**** Starting auto-setup script ****"
expected command name (line 1 column 1)
Any help gratefully appreciated.
tslytsly