From: blogic Date: Tue, 19 Aug 2008 17:25:32 +0000 (+0000) Subject: fixes ntpclient, whoich quit if -s and -l were not handed over as parameters X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=e0c6fbdda0c58d18e3346514b3cdae34440c1313;p=packages.git fixes ntpclient, whoich quit if -s and -l were not handed over as parameters git-svn-id: svn://svn.openwrt.org/openwrt/packages@12339 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/net/ntpclient/files/ntpclient.hotplug b/net/ntpclient/files/ntpclient.hotplug index 87f0c0c0e..634529cae 100644 --- a/net/ntpclient/files/ntpclient.hotplug +++ b/net/ntpclient/files/ntpclient.hotplug @@ -29,7 +29,7 @@ start_ntpclient() { config_foreach check_server ntpserver [ -z "$SERVER" ] && exit 0 logger starting ntpclient - $NTPC ${COUNT:+-c $COUNT} ${INTERVAL:+-i $INTERVAL} -D -p $PORT -h $SERVER 2> /dev/null + $NTPC ${COUNT:+-c $COUNT} ${INTERVAL:+-i $INTERVAL} -s -l -D -p $PORT -h $SERVER 2> /dev/null } stop_ntpclient() {