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:
parent
9319fe2639
commit
dd84703a93
@ -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>&- >&-
|
||||
}
|
||||
}
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user