fixes ntpclient, whoich quit if -s and -l were not handed over as parameters
authorJohn Crispin <john@openwrt.org>
Tue, 19 Aug 2008 17:25:32 +0000 (17:25 +0000)
committerJohn Crispin <john@openwrt.org>
Tue, 19 Aug 2008 17:25:32 +0000 (17:25 +0000)
SVN-Revision: 12339

net/ntpclient/files/ntpclient.hotplug

index 87f0c0c0e39d197021d4f392d67b9e2028d77f0e..634529cae016c34e01df1120e0d373d50128b23a 100644 (file)
@@ -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() {