From 67b48713220e3dd5b322bc1f60b1f6cd271dcac2 Mon Sep 17 00:00:00 2001 From: Chen Minqiang Date: Fri, 7 Aug 2020 14:22:38 +0800 Subject: [PATCH] net/miniupnpd: check by /etc/init.d/miniupnpd running Signed-off-by: Chen Minqiang --- net/miniupnpd/Makefile | 2 +- net/miniupnpd/files/miniupnpd.hotplug | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/net/miniupnpd/Makefile b/net/miniupnpd/Makefile index 01dec781a9..8a6f0d4f41 100644 --- a/net/miniupnpd/Makefile +++ b/net/miniupnpd/Makefile @@ -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 diff --git a/net/miniupnpd/files/miniupnpd.hotplug b/net/miniupnpd/files/miniupnpd.hotplug index 15b80c4ef3..63d6114b6c 100644 --- a/net/miniupnpd/files/miniupnpd.hotplug +++ b/net/miniupnpd/files/miniupnpd.hotplug @@ -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) -- 2.30.2