brcm47xx: don't create named switch_vlan sections
[openwrt/openwrt.git] / target / linux / brcm47xx / base-files / etc / init.d / netconfig
index 193d4336cb8f7a6c305e912c86a5bf8bb3f6aaee..1890cd0069001f1a98bf130cfcc63c8db3411d12 100755 (executable)
@@ -218,11 +218,9 @@ start() {
                [ -n "$cfg" ] && uci rename network.$cfg=eth0
                [ -n "$vlan1ports" ] && {
                        cfg=`ucidef_add_switch_vlan "$switchname" 1 "$vlan1ports"`
-                       [ -n "$cfg" ] && uci rename network.$cfg=eth0_1
                }
                [ -n "$vlan2ports" ] && {
                        cfg=`ucidef_add_switch_vlan "$switchname" 2 "$vlan2ports"`
-                       [ -n "$cfg" ] && uci rename network.$cfg=eth0_2
                }
        }