From: Florian Fainelli Date: Sat, 2 Jan 2010 12:14:16 +0000 (+0000) Subject: [package] fix stunnel restart, bump makefile (#5897, #6220) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3fb1dbb3bfdf7e0df483d9bb73da9aedcabf044f;p=openwrt%2Fsvn-archive%2Farchive.git [package] fix stunnel restart, bump makefile (#5897, #6220) SVN-Revision: 18994 --- diff --git a/net/stunnel/Makefile b/net/stunnel/Makefile index ff16727c2a..4693305f37 100644 --- a/net/stunnel/Makefile +++ b/net/stunnel/Makefile @@ -3,7 +3,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=stunnel PKG_VERSION:=4.29 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MD5SUM:=14dc3f8412947f0548975cbce74d6863 PKG_SOURCE_URL:=http://www.stunnel.org/download/stunnel/src/ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz diff --git a/net/stunnel/files/stunnel.init b/net/stunnel/files/stunnel.init index f74ff680fb..a3ea1037f4 100644 --- a/net/stunnel/files/stunnel.init +++ b/net/stunnel/files/stunnel.init @@ -26,5 +26,9 @@ start() { } stop() { - [ -f $PID_F ] && kill -9 $(cat $PID_F) && rm -f $PID_F + [ -f $PID_F ] && { + kill $(cat $PID_F) + kill -9 $(cat $PID_F) + rm -f $PID_F + } }