[package] fix stunnel restart, bump makefile (#5897, #6220)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@18994 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2010-01-02 12:14:16 +00:00
parent 38cea02224
commit 1ca2b056f2
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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
}
}