aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-04-25 09:43:50 +0200
committerGravatar Christian Hesse <mail@eworm.de>2023-04-25 09:43:50 +0200
commit9dead9cc33f29166bb3c72ccd3e5444f215c1c6f (patch)
tree8a5ad5c90663a189d31a9a01f0b1f4f0548883a1
parent19eb8653afb00694b55fb4fcde53b82de415ac63 (diff)
mod/bridge-port-vlan: increase the delay before re-enabling
Looks like two seconds is way too short... NetworkManager act after five seconds - so let's delay that time at least. https://networkmanager.dev/docs/api/latest/NetworkManager.conf.html#carrier-wait-timeout
-rw-r--r--mod/bridge-port-vlan.rsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/bridge-port-vlan.rsc b/mod/bridge-port-vlan.rsc
index 8fb64e1..792a6c4 100644
--- a/mod/bridge-port-vlan.rsc
+++ b/mod/bridge-port-vlan.rsc
@@ -66,7 +66,7 @@
}
}
:if ([ :len $InterfaceReEnable ] > 0) do={
- :delay 2s;
+ :delay 5s;
$LogPrintExit2 info $0 ("Re-enabling interfaces...") false;
/interface/ethernet/enable $InterfaceReEnable;
}