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:
b98d782
)
Fix count/clock setting arguments (#1527)
author
Florian Fainelli
<florian@openwrt.org>
Fri, 13 Apr 2007 10:54:34 +0000
(10:54 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Fri, 13 Apr 2007 10:54:34 +0000
(10:54 +0000)
SVN-Revision: 6944
net/ntpclient/files/ntpclient.init
patch
|
blob
|
history
diff --git
a/net/ntpclient/files/ntpclient.init
b/net/ntpclient/files/ntpclient.init
index e02a42de8328ee0494e36c80e3542a365fddb14b..5be3b36efa7f0acf3a2e8bd2409bc797ddd2148a 100644
(file)
--- a/
net/ntpclient/files/ntpclient.init
+++ b/
net/ntpclient/files/ntpclient.init
@@
-12,11
+12,10
@@
config_cb() {
ntp_client)
config_get hostname $cfg hostname
config_get port $cfg port
- config_get count $cfg count
ps x | grep 'bin/[n]tpclient' >&- || {
route -n 2>&- | grep '^0.0.0.0' >&- && {
- /usr/sbin/ntpclient -
c ${count:-1}
-h $hostname -p ${port:-123} 2>&- >&-
+ /usr/sbin/ntpclient -
s
-h $hostname -p ${port:-123} 2>&- >&-
}
}
;;