mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
bridge-port-to-default: drop delay
Now that we expect the scheduler to have a delay and script-updates warning about it...
This commit is contained in:
@ -6,13 +6,6 @@
|
|||||||
|
|
||||||
:global BridgePortTo;
|
:global BridgePortTo;
|
||||||
|
|
||||||
:local Len ([ :len $BridgePortTo ] + 1);
|
|
||||||
|
|
||||||
:if ($Len = 1) do={
|
|
||||||
:delay 1s;
|
|
||||||
:set Len ([ :len $BridgePortTo ] + 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
:foreach BridgePort in=[ / interface bridge port find where comment!="" ] do={
|
:foreach BridgePort in=[ / interface bridge port find where comment!="" ] do={
|
||||||
:local BridgePortVal [ / interface bridge port get $BridgePort ];
|
:local BridgePortVal [ / interface bridge port get $BridgePort ];
|
||||||
:foreach Comment in=[ :toarray ($BridgePortVal->"comment") ] do={
|
:foreach Comment in=[ :toarray ($BridgePortVal->"comment") ] do={
|
||||||
|
Reference in New Issue
Block a user