summaryrefslogtreecommitdiff
path: root/openwrt/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
commitd316bf3bfde447bfc6696b9bd85da270c68f3155 (patch)
treea215c60fa1d0c9e7a378ba15526d459fb0faf86d /openwrt/package/htpdate/files
parent692504c65e0dcc6fba31bf7f6b355d119808c7a6 (diff)
downloadmtk-20170518-d316bf3bfde447bfc6696b9bd85da270c68f3155.zip
mtk-20170518-d316bf3bfde447bfc6696b9bd85da270c68f3155.tar.gz
mtk-20170518-d316bf3bfde447bfc6696b9bd85da270c68f3155.tar.bz2
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.
SVN-Revision: 1137
Diffstat (limited to 'openwrt/package/htpdate/files')
-rw-r--r--openwrt/package/htpdate/files/htpdate.default2
-rw-r--r--openwrt/package/htpdate/files/htpdate.init2
2 files changed, 2 insertions, 2 deletions
diff --git a/openwrt/package/htpdate/files/htpdate.default b/openwrt/package/htpdate/files/htpdate.default
index 8c182b3..94674fd 100644
--- a/openwrt/package/htpdate/files/htpdate.default
+++ b/openwrt/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/openwrt/package/htpdate/files/htpdate.init b/openwrt/package/htpdate/files/htpdate.init
index 9af0e55..69d3d35 100644
--- a/openwrt/package/htpdate/files/htpdate.init
+++ b/openwrt/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)