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
This commit is contained in:
Christian Hesse 2023-04-25 09:43:50 +02:00
parent 19eb8653af
commit 9dead9cc33

View file

@ -66,7 +66,7 @@
}
}
:if ([ :len $InterfaceReEnable ] > 0) do={
:delay 2s;
:delay 5s;
$LogPrintExit2 info $0 ("Re-enabling interfaces...") false;
/interface/ethernet/enable $InterfaceReEnable;
}