From 42b8325c9bfc7d988af8983136c907af79a99f14 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Fri, 13 Apr 2007 10:54:34 +0000 Subject: [PATCH] Fix count/clock setting arguments (#1527) SVN-Revision: 6944 --- net/ntpclient/files/ntpclient.init | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/net/ntpclient/files/ntpclient.init b/net/ntpclient/files/ntpclient.init index e02a42de8..5be3b36ef 100644 --- a/net/ntpclient/files/ntpclient.init +++ b/net/ntpclient/files/ntpclient.init @@ -12,11 +12,10 @@ config_cb() { ntp_client) config_get hostname $cfg hostname config_get port $cfg port - config_get count $cfg count ps x | grep 'bin/[n]tpclient' >&- || { route -n 2>&- | grep '^0.0.0.0' >&- && { - /usr/sbin/ntpclient -c ${count:-1} -h $hostname -p ${port:-123} 2>&- >&- + /usr/sbin/ntpclient -s -h $hostname -p ${port:-123} 2>&- >&- } } ;; -- 2.30.2