diff options
author | John Crispin <john@openwrt.org> | 2014-09-15 10:18:37 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-09-15 10:18:37 +0000 |
commit | f16f3103064a25bf20f19b5c5dafe95e0cd04454 (patch) | |
tree | ad72b1d9795c2bbe9e61b1276eb11ba93848f26c /target/linux/lantiq | |
parent | 289dbe3a84c857b7a2dc94e6c1abde1c3818e75f (diff) | |
download | mtk-20170518-f16f3103064a25bf20f19b5c5dafe95e0cd04454.zip mtk-20170518-f16f3103064a25bf20f19b5c5dafe95e0cd04454.tar.gz mtk-20170518-f16f3103064a25bf20f19b5c5dafe95e0cd04454.tar.bz2 |
lantiq: add default switch setup to td8970
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42544
Diffstat (limited to 'target/linux/lantiq')
-rw-r--r-- | target/linux/lantiq/base-files/etc/uci-defaults/02_network | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/02_network b/target/linux/lantiq/base-files/etc/uci-defaults/02_network index 2dee0c1..8d9ae4f 100644 --- a/target/linux/lantiq/base-files/etc/uci-defaults/02_network +++ b/target/linux/lantiq/base-files/etc/uci-defaults/02_network @@ -154,6 +154,9 @@ P2812HNUFX) TDW8970) lan_mac=$(mtd_get_mac_binary boardconfig 61696) wan_mac=$(macaddr_add "$lan_mac" 1) + ucidef_set_interface_lan 'eth0.1' + ucidef_add_switch "switch0" "1" "1" + ucidef_add_switch_vlan "switch0" "1" "0 2 4 5 6t" ;; ARV7519RW22) |