net/miniupnpd: check by /etc/init.d/miniupnpd running
authorChen Minqiang <ptpt52@gmail.com>
Fri, 7 Aug 2020 06:22:38 +0000 (14:22 +0800)
committerChen Minqiang <ptpt52@gmail.com>
Fri, 7 Aug 2020 16:12:38 +0000 (00:12 +0800)
Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
net/miniupnpd/Makefile
net/miniupnpd/files/miniupnpd.hotplug

index 01dec781a9996d142b27d08b956921052179e1f9..8a6f0d4f41fa2cffb9293cc9872ef5bd0670fa2c 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=miniupnpd
 PKG_VERSION:=2.1.20200510
-PKG_RELEASE:=4
+PKG_RELEASE:=5
 
 PKG_SOURCE_URL:=https://miniupnp.tuxfamily.org/files
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
index 15b80c4ef3bb5bbc75f203180ed6e2feeb7d36bf..63d6114b6ca2ca24b1c998ef71c31558b82e563d 100644 (file)
@@ -7,9 +7,7 @@
 # - check only on ifup (otherwise lease updates etc would cause
 #   miniupnpd state loss)
 
-. /lib/functions/procd.sh
-
-[ "$ACTION" != "ifup" ] && procd_running "miniupnpd" "*" && exit 0
+[ "$ACTION" != "ifup" ] && /etc/init.d/miniupnpd running && exit 0
 
 tmpconf="/var/etc/miniupnpd.conf"
 external_iface=$(uci -q get upnpd.config.external_iface)