aboutsummaryrefslogtreecommitdiffstats
path: root/bridge-port-to-default
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-02-24 19:47:17 +0100
committerGravatar Christian Hesse <mail@eworm.de>2020-02-24 19:47:17 +0100
commit69352c90d5efc641c7aedd277d8d3499127b96a9 (patch)
tree29e111578141c94085c1ad36e332c6ab9113a3e3 /bridge-port-to-default
parent5316ec6ef5fca34cf8c9f49fe9a82a90f1c47b12 (diff)
bridge-port-to-default: drop delay
Now that we expect the scheduler to have a delay and script-updates warning about it...
Diffstat (limited to 'bridge-port-to-default')
-rw-r--r--bridge-port-to-default7
1 files changed, 0 insertions, 7 deletions
diff --git a/bridge-port-to-default b/bridge-port-to-default
index 5b7fa7e..1bb4597 100644
--- a/bridge-port-to-default
+++ b/bridge-port-to-default
@@ -6,13 +6,6 @@
: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={
:local BridgePortVal [ / interface bridge port get $BridgePort ];
:foreach Comment in=[ :toarray ($BridgePortVal->"comment") ] do={