[package] kill openntpd harder when stopping, patch from Stefan Monnier
authorFlorian Fainelli <florian@openwrt.org>
Sat, 20 Mar 2010 12:12:59 +0000 (12:12 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sat, 20 Mar 2010 12:12:59 +0000 (12:12 +0000)
SVN-Revision: 20317

net/openntpd/Makefile
net/openntpd/files/ntpd.init

index f47d74ab40524dfb157dd07650f6751abcedab8a..9640cf5c333717c686b8afdd1009243f24091b93 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=openntpd
 PKG_VERSION:=3.9p1
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=ftp://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/ \
index 0d6c7a10b69898e21006d4034b60d9a351503731..31d9f22f03ad28330484e2ff9150e9affc144c77 100644 (file)
@@ -14,5 +14,6 @@ start() {
 }
 
 stop() {
-       killall ntpd
+       # -1 seems insufficient to kill one of the two underlying processes.
+       killall -9 ntpd
 }