Changeset 41835


Ignore:
Timestamp:
2014-07-26T14:33:48+02:00 (4 years ago)
Author:
hauke
Message:

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ł Miłecki <zajec5@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/brcm47xx/base-files/etc/init.d/netconfig

    r41663 r41835  
    219219                [ -n "$vlan1ports" ] && { 
    220220                        cfg=`ucidef_add_switch_vlan "$switchname" 1 "$vlan1ports"` 
    221                         [ -n "$cfg" ] && uci rename network.$cfg=eth0_1 
    222221                } 
    223222                [ -n "$vlan2ports" ] && { 
    224223                        cfg=`ucidef_add_switch_vlan "$switchname" 2 "$vlan2ports"` 
    225                         [ -n "$cfg" ] && uci rename network.$cfg=eth0_2 
    226224                } 
    227225        } 
Note: See TracChangeset for help on using the changeset viewer.