diff options
author | jim-p <jimp@pfsense.org> | 2012-05-16 13:21:27 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-05-16 13:21:27 -0400 |
commit | 10e741d58998b3f94ed51a32bee46ac1dab6d4da (patch) | |
tree | 92ab22d474c66fb2868ff1cf4cf50dfea3ed3ab0 /etc/rc.newwanip | |
parent | b40e9b1cfb87d0d25ea0ba15650b8ec73ef82eb7 (diff) | |
download | pfsense-10e741d58998b3f94ed51a32bee46ac1dab6d4da.zip pfsense-10e741d58998b3f94ed51a32bee46ac1dab6d4da.tar.gz |
ntpdate was hanging, use the same hacky fix that works for ntpd and it works too. All happy, even from a cold boot on ALIX 2d3 with no RTC battery.
Diffstat (limited to 'etc/rc.newwanip')
-rwxr-xr-x | etc/rc.newwanip | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip index 32af0a5..0438088 100755 --- a/etc/rc.newwanip +++ b/etc/rc.newwanip @@ -51,7 +51,7 @@ function restart_packages() { /* restart packages */ system_ntp_configure(false); - mwexec_bg("/usr/local/sbin/ntpdate_sync_once.sh"); + mwexec_bg("echo /usr/local/sbin/ntpdate_sync_once.sh | tcsh"); log_error("{$g['product_name']} package system has detected an ip change $oldip -> $curwanip ... Restarting packages."); send_event("service reload packages"); } |