mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
net/miniupnpd: check by /etc/init.d/miniupnpd running
Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
(cherry picked from commit 67b4871322)
This commit is contained in:
committed by
Rosen Penev
parent
93d44081c3
commit
16cceb118a
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user