diff --git a/openwrt/package/htpdate/Makefile b/openwrt/package/htpdate/Makefile index e37cf8ffd7..8505425747 100644 --- a/openwrt/package/htpdate/Makefile +++ b/openwrt/package/htpdate/Makefile @@ -3,9 +3,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:=htpdate -PKG_VERSION:=0.8.1 +PKG_VERSION:=0.8.0 PKG_RELEASE:=1 -PKG_MD5SUM:=f9a984d5c2f78401ed6712760331ca7f +PKG_MD5SUM:=5fd1ba822e0949a3cb34e3f61fbeb8ca PKG_SOURCE_URL:=http://www.clevervest.com/htp/archive/c/ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz diff --git a/openwrt/package/htpdate/files/htpdate.init b/openwrt/package/htpdate/files/htpdate.init index a9fbb81c27..69d3d35f57 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 -s -t $OPTIONS && $BIN -D $OPTIONS + $BIN -C 0 -l -s $OPTIONS && $BIN -D $OPTIONS ;; stop) [ -f $PID_F ] && kill $(cat $PID_F)