[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 f47d74a..9640cf5 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 0d6c7a1..31d9f22 100644 (file)
@@ -14,5 +14,6 @@ start() {
 }
 
 stop() {
-       killall ntpd
+       # -1 seems insufficient to kill one of the two underlying processes.
+       killall -9 ntpd
 }