From 053876753e6577507c8258f1f6019d2a90da63a8 Mon Sep 17 00:00:00 2001 From: jim-p Date: Fri, 8 Feb 2013 15:02:57 -0500 Subject: Restart ntpd a little differently, seems to stabilize it when restarted from rc.newwanip --- etc/rc.newwanip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/rc.newwanip') diff --git a/etc/rc.newwanip b/etc/rc.newwanip index 0438088..fe17ad0 100755 --- a/etc/rc.newwanip +++ b/etc/rc.newwanip @@ -51,7 +51,7 @@ function restart_packages() { /* restart packages */ system_ntp_configure(false); - mwexec_bg("echo /usr/local/sbin/ntpdate_sync_once.sh | tcsh"); + shell_exec("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"); } -- cgit v1.1