Merge pull request #233 from hnyman/m-fix
miniupnpd: fix local variables in hotplug script, change startup priority slightly
This commit is contained in:
commit
73b396158a
3 changed files with 5 additions and 7 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=miniupnpd
|
PKG_NAME:=miniupnpd
|
||||||
PKG_VERSION:=2.0
|
PKG_VERSION:=2.0
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE_URL:=http://miniupnp.free.fr/files
|
PKG_SOURCE_URL:=http://miniupnp.free.fr/files
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
|
|
|
@ -13,11 +13,9 @@
|
||||||
|
|
||||||
[ ! "$ACTION" = "ifup" ] && service_check /usr/sbin/miniupnpd && exit 0
|
[ ! "$ACTION" = "ifup" ] && service_check /usr/sbin/miniupnpd && exit 0
|
||||||
|
|
||||||
local iface
|
tmpconf="/var/etc/miniupnpd.conf"
|
||||||
local ifname
|
extiface=$(uci get upnpd.config.external_iface)
|
||||||
local tmpconf="/var/etc/miniupnpd.conf"
|
extzone=$(uci get upnpd.config.external_zone)
|
||||||
local extiface=$(uci get upnpd.config.external_iface)
|
|
||||||
local extzone=$(uci get upnpd.config.external_zone)
|
|
||||||
|
|
||||||
. /lib/functions/network.sh
|
. /lib/functions/network.sh
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh /etc/rc.common
|
#!/bin/sh /etc/rc.common
|
||||||
# Copyright (C) 2006-2014 OpenWrt.org
|
# Copyright (C) 2006-2014 OpenWrt.org
|
||||||
|
|
||||||
START=95
|
START=94
|
||||||
STOP=15
|
STOP=15
|
||||||
|
|
||||||
SERVICE_USE_PID=1
|
SERVICE_USE_PID=1
|
||||||
|
|
Loading…
Reference in a new issue