For some reason email does not have the line breaks in the correct spot?
Edited for proper display
Version 6 seems to have some differences in scripting? Is there
documentation for these differences?
I use the following for customer disconnects.
#---
:if ([:len [/file find name=blocks.rsc]] > 0) do={
/import blocks.rsc
:delay 10
/file remove blocks.rsc
}
:if ([:len [/file find name=unblocks.rsc]] > 0) do={ /
import unblocks.rsc
:delay 10
/file remove unblocks.rsc
}
/ip firewall address-list print without-paging file=list.rsc
#---
This is failing now on V6+ Router OS.
It fails with "incomplete input: {"
The first do is being rejected I guess? This is on a Cloud Core so going
back is not an option.
Thank you,
Jerry Allen
_______________________________________________
Mikrotik mailing list
[email protected]
http://mail.butchevans.com/mailman/listinfo/mikrotik
Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS
_______________________________________________
Mikrotik mailing list
[email protected]
http://mail.butchevans.com/mailman/listinfo/mikrotik
Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS