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 87f0c0c..634529c 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() {