Browse Source

net/miniupnpd: check by /etc/init.d/miniupnpd running

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
lilik-openwrt-22.03
Chen Minqiang 4 years ago
parent
commit
67b4871322
2 changed files with 2 additions and 4 deletions
  1. +1
    -1
      net/miniupnpd/Makefile
  2. +1
    -3
      net/miniupnpd/files/miniupnpd.hotplug

+ 1
- 1
net/miniupnpd/Makefile View 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


+ 1
- 3
net/miniupnpd/files/miniupnpd.hotplug View 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)


Loading…
Cancel
Save