summaryrefslogtreecommitdiffstats
path: root/etc/rc.newwanip
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-04-12 13:52:34 -0400
committerjim-p <jimp@pfsense.org>2011-04-12 13:52:34 -0400
commitcd11a1426d3c140918a74cb7e3efc500644e220c (patch)
treef2771640291104cc6228a6818061ff49364cfc6c /etc/rc.newwanip
parentd67b6b175cc593c20fe2e151b2ca88fd32eee478 (diff)
downloadpfsense-cd11a1426d3c140918a74cb7e3efc500644e220c.zip
pfsense-cd11a1426d3c140918a74cb7e3efc500644e220c.tar.gz
Drop the ntpdate sync in favor of using ntpd -s, which should have the same net effect without needing the shell script that has been prone to hanging.
Diffstat (limited to 'etc/rc.newwanip')
-rwxr-xr-xetc/rc.newwanip2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip
index 654d0dd..0395099 100755
--- a/etc/rc.newwanip
+++ b/etc/rc.newwanip
@@ -49,7 +49,7 @@ function restart_packages() {
global $oldip, $curwanipi, $g;
/* restart packages */
- mwexec_bg("/usr/local/sbin/ntpdate_sync_once.sh");
+ system_ntp_configure();
log_error("{$g['product_name']} package system has detected an ip change $oldip -> $curwanip ... Restarting packages.");
mwexec_bg("/etc/rc.start_packages");
}
OpenPOWER on IntegriCloud