diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2014-07-26 12:33:48 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2014-07-26 12:33:48 +0000 |
commit | 020ac4da2b796cb55664bb6a431752f511ea9326 (patch) | |
tree | f9f29dc746c95014cf7d075a2b603ac2569c5e40 /target/linux/brcm47xx | |
parent | fce8116a3bb5411b1fd535e236ece7de9847d481 (diff) | |
download | master-187ad058-020ac4da2b796cb55664bb6a431752f511ea9326.tar.gz master-187ad058-020ac4da2b796cb55664bb6a431752f511ea9326.tar.bz2 master-187ad058-020ac4da2b796cb55664bb6a431752f511ea9326.zip |
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@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41835 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx')
-rwxr-xr-x | target/linux/brcm47xx/base-files/etc/init.d/netconfig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/target/linux/brcm47xx/base-files/etc/init.d/netconfig b/target/linux/brcm47xx/base-files/etc/init.d/netconfig index 193d4336cb..1890cd0069 100755 --- a/target/linux/brcm47xx/base-files/etc/init.d/netconfig +++ b/target/linux/brcm47xx/base-files/etc/init.d/netconfig @@ -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 } } |