summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2015-09-22 00:57:01 -0500
committerChris Buechler <cmb@pfsense.org>2015-09-22 00:57:01 -0500
commit0aa8caecff3738893e8d428f7a4280c7ba72245e (patch)
treee185cad3ad1681e158a1557332a907bb7f10beb7 /src
parent352f808558feda0d3eecefbf150e47d88315a01c (diff)
downloadpfsense-0aa8caecff3738893e8d428f7a4280c7ba72245e.zip
pfsense-0aa8caecff3738893e8d428f7a4280c7ba72245e.tar.gz
Kicking ntpd in rc.newwanip(v6) dates back to OpenNTPD which didn't have dynamic interface scanning support. This seems to be the source of crashes in ntpd as described in Ticket #4155, and appears to be unnecessary.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/etc/rc.newwanip2
-rwxr-xr-xsrc/etc/rc.newwanipv62
2 files changed, 0 insertions, 4 deletions
diff --git a/src/etc/rc.newwanip b/src/etc/rc.newwanip
index 01d211c..ea44b81 100755
--- a/src/etc/rc.newwanip
+++ b/src/etc/rc.newwanip
@@ -47,8 +47,6 @@ function restart_packages() {
global $oldip, $curwanip, $g;
/* restart packages */
- system_ntp_configure(false);
- mwexec_bg("/usr/local/sbin/ntpdate_sync_once.sh", true);
log_error("{$g['product_name']} package system has detected an IP change or dynamic WAN reconnection - $oldip -> $curwanip - Restarting packages.");
send_event("service reload packages");
}
diff --git a/src/etc/rc.newwanipv6 b/src/etc/rc.newwanipv6
index 1030d96..088600b 100755
--- a/src/etc/rc.newwanipv6
+++ b/src/etc/rc.newwanipv6
@@ -48,8 +48,6 @@ function restart_packages() {
global $oldipv6, $curwanipv6, $g;
/* restart packages */
- system_ntp_configure(false);
- mwexec_bg("/usr/local/sbin/ntpdate_sync_once.sh", true);
log_error("{$g['product_name']} package system has detected an IP change or dynamic WAN reconnection - $oldipv6 -> $curwanipv6 - Restarting packages.");
send_event("service reload packages");
}
OpenPOWER on IntegriCloud