mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
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:
parent
19eb8653af
commit
9dead9cc33
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
:if ([ :len $InterfaceReEnable ] > 0) do={
|
:if ([ :len $InterfaceReEnable ] > 0) do={
|
||||||
:delay 2s;
|
:delay 5s;
|
||||||
$LogPrintExit2 info $0 ("Re-enabling interfaces...") false;
|
$LogPrintExit2 info $0 ("Re-enabling interfaces...") false;
|
||||||
/interface/ethernet/enable $InterfaceReEnable;
|
/interface/ethernet/enable $InterfaceReEnable;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue