diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-06-02 02:04:01 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-06-02 02:04:01 +0000 |
commit | 6f0813ddd53103adfb69c4397757702f2e2e6526 (patch) | |
tree | a215c60fa1d0c9e7a378ba15526d459fb0faf86d /openwrt/package/htpdate/patches/no-time-delta-check.patch | |
parent | 00495d614bec3eabf4cfa9db37513e13d6ea2b70 (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/patches/no-time-delta-check.patch')
-rw-r--r-- | openwrt/package/htpdate/patches/no-time-delta-check.patch | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/openwrt/package/htpdate/patches/no-time-delta-check.patch b/openwrt/package/htpdate/patches/no-time-delta-check.patch deleted file mode 100644 index f45929541..000000000 --- a/openwrt/package/htpdate/patches/no-time-delta-check.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- htpdate-0.7.2-orig/htpdate.c 2005-05-05 20:53:13.000000000 +0200 -+++ htpdate-0.7.2-1/htpdate.c 2005-05-07 15:31:21.000000000 +0200 -@@ -411,11 +411,8 @@ - - timestamp = getHTTPdate( host, port, proxy, proxyport, when ); - -- /* Only include valid responses in timedelta[], |delta time| < year */ -- if ( labs(timestamp) < 31536000 ) { - timedelta[validtime] = timestamp; - validtime++; -- } - - /* Sleep for a while, unless we detect a time offset */ - if ( daemonize && (timestamp == 0) ) |