[package] kill openntpd harder when stopping, patch from Stefan Monnier
git-svn-id: svn://svn.openwrt.org/openwrt/packages@20317 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
1a77a9a31f
commit
0a57a8a116
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=openntpd
|
PKG_NAME:=openntpd
|
||||||
PKG_VERSION:=3.9p1
|
PKG_VERSION:=3.9p1
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=ftp://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/ \
|
PKG_SOURCE_URL:=ftp://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/ \
|
||||||
|
@ -14,5 +14,6 @@ start() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
killall ntpd
|
# -1 seems insufficient to kill one of the two underlying processes.
|
||||||
|
killall -9 ntpd
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user