From: Jo-Philipp Wich Date: Sat, 24 Sep 2016 12:43:31 +0000 (+0200) Subject: mwan3: remove bad local shell variable declarations X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=a67e66c2803f6d94542f38d6cdb7465c2714e0ac;p=feed%2Fpackages.git mwan3: remove bad local shell variable declarations Local variable declarations outside of functions are illegal since the Busybox update to v1.25.0, therfore remove them from the appropriate places. Signed-off-by: Jo-Philipp Wich --- diff --git a/net/mwan3/Makefile b/net/mwan3/Makefile index 25ad2bab49..01f9e07f65 100644 --- a/net/mwan3/Makefile +++ b/net/mwan3/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mwan3 PKG_VERSION:=2.0 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_MAINTAINER:=Jeroen Louwes PKG_LICENSE:=GPLv2 diff --git a/net/mwan3/files/etc/hotplug.d/iface/15-mwan3 b/net/mwan3/files/etc/hotplug.d/iface/15-mwan3 index 64aaae7e7b..86e60e1330 100644 --- a/net/mwan3/files/etc/hotplug.d/iface/15-mwan3 +++ b/net/mwan3/files/etc/hotplug.d/iface/15-mwan3 @@ -22,8 +22,6 @@ fi [ -x /usr/sbin/ip6tables ] || exit 7 [ -x /usr/bin/logger ] || exit 8 -local family gateway - config_get family $INTERFACE family ipv4 if [ "$family" == "ipv4" ]; then diff --git a/net/mwan3/files/lib/mwan3/mwan3.sh b/net/mwan3/files/lib/mwan3/mwan3.sh index 3afc72df27..1e1de969fa 100644 --- a/net/mwan3/files/lib/mwan3/mwan3.sh +++ b/net/mwan3/files/lib/mwan3/mwan3.sh @@ -1,7 +1,5 @@ #!/bin/sh -local IP4 IP6 IPS IPT4 IPT6 LOG - IP4="/usr/bin/ip -4" IP6="/usr/bin/ip -6" IPS="/usr/sbin/ipset"