diff options
author | Christian Hesse <mail@eworm.de> | 2023-04-25 09:45:46 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2023-04-25 09:45:46 +0200 |
commit | 575c77d1a68fd8af4a6fb25f1c6c41d26f563d0a (patch) | |
tree | cd525bd5690bb80c6a1b220909d2b10da19fb8d3 | |
parent | 9dead9cc33f29166bb3c72ccd3e5444f215c1c6f (diff) |
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
-rw-r--r-- | mod/bridge-port-to.rsc | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |