From b775741d301f57ec98ed5c8ac937e24ed07c21c0 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 23 Feb 2014 20:06:21 +0100 Subject: [PATCH] gluon-legacy: remove_bat0 doesn't make sense for the wan interface --- .../generate/lib/gluon/upgrade/core/legacy/001-sysconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/gluon-legacy/generate/lib/gluon/upgrade/core/legacy/001-sysconfig b/package/gluon-legacy/generate/lib/gluon/upgrade/core/legacy/001-sysconfig index 16964723..c1bba31b 100755 --- a/package/gluon-legacy/generate/lib/gluon/upgrade/core/legacy/001-sysconfig +++ b/package/gluon-legacy/generate/lib/gluon/upgrade/core/legacy/001-sysconfig @@ -25,7 +25,7 @@ remove_bat0() { } mesh_ifname="$(uci get 'network.@legacy.mesh_ifname@.ifname' | remove_bat0)" -wan_ifname="$(uci get network.wan.ifname | remove_bat0)" +wan_ifname="$(uci get network.wan.ifname)" if [ -n "$wan_ifname" ] && iface_exists "$wan_ifname"; then [ -z "$mesh_ifname" ] || sysconfig_set lan_ifname "$mesh_ifname"