summaryrefslogtreecommitdiffstats
path: root/etc/rc.newwanipv6
diff options
context:
space:
mode:
authorErmal LUÇI <eri@pfsense.org>2014-11-24 15:42:18 +0100
committerErmal LUÇI <eri@pfsense.org>2014-11-24 15:42:18 +0100
commitc2847e0faa781712f6419c8f305c97df66d9d233 (patch)
treeeec7cd555d1ba29989a189504917f21dc3d75c97 /etc/rc.newwanipv6
parentb8d092806fc770039055eee72f3937b3251a7c56 (diff)
downloadpfsense-c2847e0faa781712f6419c8f305c97df66d9d233.zip
pfsense-c2847e0faa781712f6419c8f305c97df66d9d233.tar.gz
Gather DNS information and return on bootup
Diffstat (limited to 'etc/rc.newwanipv6')
-rwxr-xr-xetc/rc.newwanipv68
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/rc.newwanipv6 b/etc/rc.newwanipv6
index 5b9ff86..fe2d68b 100755
--- a/etc/rc.newwanipv6
+++ b/etc/rc.newwanipv6
@@ -80,10 +80,6 @@ if (empty($interface)) {
return;
}
-//Do not process while booting
-if ($g['booting'] && $config['interfaces'][$interface]['ipaddrv6'] != "dhcp6")
- return;
-
/*
* NOTE: Take care of openvpn and similar if you generate the event to reconfigure an interface.
* i.e. OpenVPN might be in tap mode and not have an ip.
@@ -120,6 +116,10 @@ if (!empty($new_domain_name))
if (is_ipaddrv6($curwanipv6))
@file_put_contents("{$g['vardb_path']}/{$interface}_ipv6", $curwanipv6);
+//Do not process while booting
+if ($g['booting'])
+ return;
+
log_error("rc.newwanipv6: on (IP address: {$curwanipv6}) (interface: {$interface}) (real interface: {$interface_real}).");
$oldipv6 = "";
OpenPOWER on IntegriCloud