mwan3: remove bad local shell variable declarations 3224/head
authorJo-Philipp Wich <jo@mein.io>
Sat, 24 Sep 2016 12:43:31 +0000 (14:43 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sat, 24 Sep 2016 12:47:38 +0000 (14:47 +0200)
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 <jo@mein.io>
net/mwan3/Makefile
net/mwan3/files/etc/hotplug.d/iface/15-mwan3
net/mwan3/files/lib/mwan3/mwan3.sh

index 25ad2bab49d1914222c119eee80b7cd52b9d7996..01f9e07f65389bd001ffeb6e745db9a8120e26d0 100644 (file)
@@ -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 <jeroen.louwes@gmail.com>
 PKG_LICENSE:=GPLv2
 
index 64aaae7e7b7764222b1c3267f4759fecc5b6445e..86e60e1330a74909f3056ff4d7443e4bafe85e59 100644 (file)
@@ -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
index 3afc72df27f4d08004dfc25cde3e72dbad2139e2..1e1de969fafb957dcec19f9342784cfdc6917a5d 100644 (file)
@@ -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"