Author: hauke
Date: 2014-07-26 14:33:48 +0200 (Sat, 26 Jul 2014)
New Revision: 41835

Modified:
   trunk/target/linux/brcm47xx/base-files/etc/init.d/netconfig
Log:
brcm47xx: don't create named switch_vlan sections

It doesn't seem to be used anywhere, it's incompatible with other
targets and can be confusing. People may think they need to update
section name every time they change VLAN ID (well, even I was doing
that).

Signed-off-by: Rafa?\197?\130 Mi?\197?\130ecki <[email protected]>


Modified: trunk/target/linux/brcm47xx/base-files/etc/init.d/netconfig
===================================================================
--- trunk/target/linux/brcm47xx/base-files/etc/init.d/netconfig 2014-07-26 
12:23:56 UTC (rev 41834)
+++ trunk/target/linux/brcm47xx/base-files/etc/init.d/netconfig 2014-07-26 
12:33:48 UTC (rev 41835)
@@ -218,11 +218,9 @@
                [ -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
                }
        }
 
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to