From 3fb1dbb3bfdf7e0df483d9bb73da9aedcabf044f Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sat, 2 Jan 2010 12:14:16 +0000 Subject: [PATCH] [package] fix stunnel restart, bump makefile (#5897, #6220) SVN-Revision: 18994 --- net/stunnel/Makefile | 2 +- net/stunnel/files/stunnel.init | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) 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 + } } -- 2.30.2