Do not try only once to sync clock

git-svn-id: svn://svn.openwrt.org/openwrt/packages@7111 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2007-05-06 15:46:47 +00:00
parent 9319fe2639
commit dd84703a93

View 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>&- >&-
}
}
;;