From 9dead9cc33f29166bb3c72ccd3e5444f215c1c6f Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 25 Apr 2023 09:43:50 +0200 Subject: 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 --- mod/bridge-port-vlan.rsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod') 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; } -- cgit v1.2.3-70-g09d2