diff options
Diffstat (limited to 'etc/rc.newwanipv6')
-rwxr-xr-x | etc/rc.newwanipv6 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/rc.newwanipv6 b/etc/rc.newwanipv6 index 0f30668..1bd4553 100755 --- a/etc/rc.newwanipv6 +++ b/etc/rc.newwanipv6 @@ -79,6 +79,10 @@ if (empty($interface)) { exit; } +//Do not process while booting +if($g['booting'] && $config['interfaces'][$interface]['ipaddrv6'] != "dhcp6") + exit; + if(empty($curwanipv6) || !is_ipaddrv6($curwanipv6)) { log_error("rc.newwanipv6: Failed to update {$interface} IPv6, restarting..."); // send_event("interface reconfigure {$interface}"); |