aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2016-06-07 18:59:26 +0200
committerJohn Crispin <john@phrozen.org>2016-06-13 22:51:41 +0200
commit027da3495720c00d942fd2b96d8a0553173ef624 (patch)
tree7728490c0a3a6473cdba88815f939603c49d6bfa /target/linux/lantiq/base-files/etc
parent62dc9831d34a3ce45f68c1749b136286457b5265 (diff)
downloadupstream-027da3495720c00d942fd2b96d8a0553173ef624.tar.gz
upstream-027da3495720c00d942fd2b96d8a0553173ef624.tar.bz2
upstream-027da3495720c00d942fd2b96d8a0553173ef624.zip
lantiq: add default lan setup to board.d script
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/lantiq/base-files/etc')
-rwxr-xr-xtarget/linux/lantiq/base-files/etc/board.d/02_network3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/lantiq/base-files/etc/board.d/02_network b/target/linux/lantiq/base-files/etc/board.d/02_network
index 89ffc79b0f..864ab2730b 100755
--- a/target/linux/lantiq/base-files/etc/board.d/02_network
+++ b/target/linux/lantiq/base-files/etc/board.d/02_network
@@ -145,6 +145,9 @@ VGV7510KW22)
ucidef_add_switch "switch0" \
"2:lan:1" "3:lan:2" "4:lan:3" "5:lan:4" "6t@eth0"
;;
+*)
+ ucidef_set_interface_lan 'eth0'
+ ;;
WBMR300)
lan_mac=$(mtd_get_mac_ascii ubootconfig ethaddr)