diff options
author | John Crispin <john@openwrt.org> | 2013-11-11 13:15:08 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2013-11-11 13:15:08 +0000 |
commit | 000cefd85e8e7e1f3f19fe65c830646dcdfb4502 (patch) | |
tree | 694a81bccfefe32e8a96d711d97d98d706a35dac /target/linux/lantiq/base-files | |
parent | f234cd7e6720cb356bd62ceff2bb5523350a2b9b (diff) | |
download | mtk-20170518-000cefd85e8e7e1f3f19fe65c830646dcdfb4502.zip mtk-20170518-000cefd85e8e7e1f3f19fe65c830646dcdfb4502.tar.gz mtk-20170518-000cefd85e8e7e1f3f19fe65c830646dcdfb4502.tar.bz2 |
lantiq: DGN3500 fixups
Just fixing up a few things for the Netgear DGN3500.
Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
SVN-Revision: 38733
Diffstat (limited to 'target/linux/lantiq/base-files')
-rw-r--r-- | target/linux/lantiq/base-files/etc/uci-defaults/02_network | 2 |
1 files changed, 2 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 ed556fc..3262f08 100644 --- a/target/linux/lantiq/base-files/etc/uci-defaults/02_network +++ b/target/linux/lantiq/base-files/etc/uci-defaults/02_network @@ -78,6 +78,8 @@ VG3503J) ;; DGN3500*) + lan_mac=$(mtd_get_mac_ascii uboot-env ethaddr) + 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" "3 2 1 0 5t" |