mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-06-22 18:43:28 +02: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:
parent
5316ec6ef5
commit
69352c90d5
1 changed files with 0 additions and 7 deletions
|
@ -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={
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue