From 575c77d1a68fd8af4a6fb25f1c6c41d26f563d0a Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 25 Apr 2023 09:45:46 +0200 Subject: mod/bridge-port-to: 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 --- mod/bridge-port-to.rsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/bridge-port-to.rsc b/mod/bridge-port-to.rsc index f752d30..86689c9 100644 --- a/mod/bridge-port-to.rsc +++ b/mod/bridge-port-to.rsc @@ -58,7 +58,7 @@ } } :if ([ :len $InterfaceReEnable ] > 0) do={ - :delay 2s; + :delay 5s; $LogPrintExit2 info $0 ("Re-enabling interfaces...") false; /interface/ethernet/enable $InterfaceReEnable; } -- cgit v1.2.3-70-g09d2