Do not try only once to sync clock
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 6 May 2007 15:46:47 +0000 (15:46 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 6 May 2007 15:46:47 +0000 (15:46 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@7111 3c298f89-4303-0410-b956-a3cf2f4a3e73

net/ntpclient/files/ntpclient.init

index 5be3b36..0689a75 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>&- >&-
                                }
                        }
                ;;