projects
/
openwrt
/
svn-archive
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
305d475
)
Do not try only once to sync clock
author
Florian Fainelli
<florian@openwrt.org>
Sun, 6 May 2007 15:46:47 +0000
(15:46 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Sun, 6 May 2007 15:46:47 +0000
(15:46 +0000)
SVN-Revision: 7111
net/ntpclient/files/ntpclient.init
patch
|
blob
|
history
diff --git
a/net/ntpclient/files/ntpclient.init
b/net/ntpclient/files/ntpclient.init
index 5be3b36efa7f0acf3a2e8bd2409bc797ddd2148a..0689a75001b4628f78befc2af88f9ab206917445 100644
(file)
--- a/
net/ntpclient/files/ntpclient.init
+++ b/
net/ntpclient/files/ntpclient.init
@@
-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>&- >&-
}
}
;;