aboutsummaryrefslogtreecommitdiffstats
path: root/package/htpdate/files
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-06-02 02:04:01 +0000
committerNicolas Thill <nico@openwrt.org>2005-06-02 02:04:01 +0000
commit77f29f3aa1758af3d9c9d39726df59ab1a3ed45e (patch)
treed67e1cf2383c1950b02a77137a11912f1314cc61 /package/htpdate/files
parent51ceb59de243e40bc0be55e7c1c11a7c20878cfc (diff)
downloadupstream-77f29f3aa1758af3d9c9d39726df59ab1a3ed45e.tar.gz
upstream-77f29f3aa1758af3d9c9d39726df59ab1a3ed45e.tar.bz2
upstream-77f29f3aa1758af3d9c9d39726df59ab1a3ed45e.zip
Update to new upstream release (v0.8.0).
Change the patch that disabled server response checking. Enable initscript at startup with prio. 49. Change initscript to set the time first and then daemonize. git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1137 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/htpdate/files')
-rw-r--r--package/htpdate/files/htpdate.default2
-rw-r--r--package/htpdate/files/htpdate.init2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/htpdate/files/htpdate.default b/package/htpdate/files/htpdate.default
index 8c182b3ee1..94674fdd3c 100644
--- a/package/htpdate/files/htpdate.default
+++ b/package/htpdate/files/htpdate.default
@@ -1 +1 @@
-OPTIONS="-D www.google.com www.yahoo.com www.linux.org www.freebsd.org"
+OPTIONS="www.google.com www.yahoo.com www.linux.org www.freebsd.org"
diff --git a/package/htpdate/files/htpdate.init b/package/htpdate/files/htpdate.init
index 9af0e55953..69d3d35f57 100644
--- a/package/htpdate/files/htpdate.init
+++ b/package/htpdate/files/htpdate.init
@@ -9,7 +9,7 @@ PID_F=$RUN_D/$BIN.pid
case $1 in
start)
mkdir -p $RUN_D
- $BIN $OPTIONS
+ $BIN -C 0 -l -s $OPTIONS && $BIN -D $OPTIONS
;;
stop)
[ -f $PID_F ] && kill $(cat $PID_F)