From: Jo-Philipp Wich Date: Tue, 1 Jul 2014 10:09:06 +0000 (+0200) Subject: miniupnpd: fix typo in init script X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=dbe56f301290130715f17e0937d342a2cc8cdca5;p=lede-routing%2F.git miniupnpd: fix typo in init script A missing space in the init script prevented the detection of the external interface. Fixes OpenWrt bug #16910. Signed-off-by: Jo-Philipp Wich --- diff --git a/miniupnpd/Makefile b/miniupnpd/Makefile index b6d2303..83e7f84 100644 --- a/miniupnpd/Makefile +++ b/miniupnpd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=miniupnpd PKG_VERSION:=1.8.20140523 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE_URL:=http://miniupnp.free.fr/files PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz diff --git a/miniupnpd/files/miniupnpd.init b/miniupnpd/files/miniupnpd.init index 68ec211..f8a66fd 100644 --- a/miniupnpd/files/miniupnpd.init +++ b/miniupnpd/files/miniupnpd.init @@ -105,7 +105,7 @@ start() { [ -n "$extiface" ] || network_find_wan6 extiface fi - [ -n "$ifname"] || network_get_device ifname ${extiface} + [ -n "$ifname" ] || network_get_device ifname ${extiface} if [ -n "$conffile" ]; then args="-f $conffile"