|
|
@ -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) |
|
|
|