From: John Crispin Date: Tue, 7 Jun 2016 16:59:26 +0000 (+0200) Subject: lantiq: add default lan setup to board.d script X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=027da3495720c00d942fd2b96d8a0553173ef624;p=openwrt%2Fstaging%2Fyousong.git lantiq: add default lan setup to board.d script Signed-off-by: John Crispin --- 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)