diff options
Diffstat (limited to 'src/etc/rc.newwanipv6')
-rwxr-xr-x | src/etc/rc.newwanipv6 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/etc/rc.newwanipv6 b/src/etc/rc.newwanipv6 index 1187f13..160ed441 100755 --- a/src/etc/rc.newwanipv6 +++ b/src/etc/rc.newwanipv6 @@ -145,6 +145,15 @@ system_routing_configure($interface); /* reconfigure our gateway monitor */ setup_gateways_monitor(); +if (platform_booting) { + // avoid race conditions in many of the below functions that occur during boot + // setting up gateways monitor doesn't seem to have issues here, and fixes the + // most commonly encountered bugs from earlier versions when everything below + // was skipped during boot + setup_gateways_monitor(); + exit; +} + /* signal filter reload */ filter_configure(); |