From 1c09849f6cf1b8bd94819ca11910ce444c3d3019 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 24 Sep 2016 14:30:24 +0200 Subject: treewide: 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 --- .../ar71xx/base-files/etc/uci-defaults/03_network-vlan-migration | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults/03_network-vlan-migration') diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-vlan-migration b/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-vlan-migration index bea9493c8e..259d240610 100644 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-vlan-migration +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-vlan-migration @@ -3,8 +3,8 @@ # Copyright (C) 2010 OpenWrt.org # -local dev="$(uci -q get network.@switch_vlan[0].device)" -local vlan="$(uci -q get network.@switch_vlan[0].vlan)" +dev="$(uci -q get network.@switch_vlan[0].device)" +vlan="$(uci -q get network.@switch_vlan[0].vlan)" if [ "$dev" = "rtl8366s" ] && [ "$vlan" = 0 ]; then logger -t vlan-migration "VLAN 0 is invalid for RTL8366s, changing to 1" -- cgit v1.2.3