Do not try only once to sync clock
authorFlorian Fainelli <florian@openwrt.org>
Sun, 6 May 2007 15:46:47 +0000 (15:46 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sun, 6 May 2007 15:46:47 +0000 (15:46 +0000)
SVN-Revision: 7111

net/ntpclient/files/ntpclient.init

index 5be3b36efa7f0acf3a2e8bd2409bc797ddd2148a..0689a75001b4628f78befc2af88f9ab206917445 100644 (file)
@@ -15,7 +15,7 @@ config_cb() {
                        
                        ps x | grep 'bin/[n]tpclient' >&- || {
                                route -n 2>&- | grep '^0.0.0.0' >&- && {
-                                       /usr/sbin/ntpclient -s -h $hostname -p ${port:-123} 2>&- >&-
+                                       /usr/sbin/ntpclient -h $hostname -p ${port:-123} 2>&- >&-
                                }
                        }
                ;;