diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-05-30 17:38:30 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-05-30 17:38:30 +0000 |
commit | 23bcceb058c37e36d3da13b8386daa4d2d4bcfcd (patch) | |
tree | 404b4d637b48ea67c4f2c9400797c796449a9e41 /target/linux/ar71xx/base-files | |
parent | 151dca093597031aa940271f31ab63a30a78240a (diff) | |
download | mtk-20170518-23bcceb058c37e36d3da13b8386daa4d2d4bcfcd.zip mtk-20170518-23bcceb058c37e36d3da13b8386daa4d2d4bcfcd.tar.gz mtk-20170518-23bcceb058c37e36d3da13b8386daa4d2d4bcfcd.tar.bz2 |
ar71xx: create a separated network interface for the RB2011UAS SFP port
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36800
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/02_network | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network index 3ba240e..86dceab 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network @@ -55,6 +55,13 @@ rb-2011uas-2hnd) ucidef_add_switch_vlan "switch0" "2" "0t 1" ucidef_add_switch "switch1" "1" "1" ucidef_add_switch_vlan "switch1" "1" "0 1 2 3 4 5" + + case "$board" in + rb-2011uas*) + ucidef_set_interface_raw "sfp" "eth0.3" + ucidef_add_switch_vlan "switch0" "3" "0t 6" + ;; + esac ;; dir-825-b1|\ |