summaryrefslogtreecommitdiffstats
path: root/package/htpdate/files
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-06-02 02:04:01 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-06-02 02:04:01 +0000
commit665fe42cf2e0af62de1259481cbb001106cf0ac8 (patch)
treed67e1cf2383c1950b02a77137a11912f1314cc61 /package/htpdate/files
parentc9bf3cc1380ca0ef5cb1cf3b08732f9276a36e78 (diff)
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 8c182b3ee..94674fdd3 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 9af0e5595..69d3d35f5 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)