global-functions*: syntax for ROS 7.x

Strings with escape sequence have to be enclosed in parentheses. Looks
like RouterOS 7.x is stricter here...
This commit is contained in:
Christian Hesse 2021-09-08 14:33:02 +02:00
parent 150c228197
commit 70f9c7926b
3 changed files with 8 additions and 8 deletions

View file

@ -135,7 +135,7 @@
plain=$Plain; formatted=$Formatted };
:if ([ :len [ / system scheduler find where name="FlushMatrixQueue" ] ] = 0) do={
/ system scheduler add name=FlushMatrixQueue interval=1m start-time=startup \
on-event=":global FlushMatrixQueue; \$FlushMatrixQueue;";
on-event=(":global FlushMatrixQueue; \$FlushMatrixQueue;");
}
}
}