summaryrefslogtreecommitdiffstats
path: root/openwrt/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
commit6f0813ddd53103adfb69c4397757702f2e2e6526 (patch)
treea215c60fa1d0c9e7a378ba15526d459fb0faf86d /openwrt/package/htpdate/files
parent00495d614bec3eabf4cfa9db37513e13d6ea2b70 (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@1137 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 8c182b3ee..94674fdd3 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 9af0e5595..69d3d35f5 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)