From: Rafał Miłecki Date: Sat, 9 Apr 2016 13:20:19 +0000 (+0000) Subject: bcm53xx: fix regression in generating network config X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e2893fa8c32a71776af0a9a559a09d98ad4b6e20;p=openwrt%2Fstaging%2Fyousong.git bcm53xx: fix regression in generating network config Syntax error was added in r49122. Signed-off-by: Rafał Miłecki SVN-Revision: 49159 --- diff --git a/target/linux/bcm53xx/base-files/etc/board.d/02_network b/target/linux/bcm53xx/base-files/etc/board.d/02_network index ea49f827b2..afb537fbfe 100755 --- a/target/linux/bcm53xx/base-files/etc/board.d/02_network +++ b/target/linux/bcm53xx/base-files/etc/board.d/02_network @@ -12,9 +12,10 @@ case "$board" in asus,rt-ac87u) ifname=eth1 ;; -netgear,r7900) -netgear,r8000) +netgear,r7900 | \ +netgear,r8000 | \ netgear,r8500) + ifname=eth2 ;; *) @@ -24,7 +25,7 @@ esac # Workaround for devices using eth2 connected to (CPU) switch port 8 case "$board" in -netgear,r7900) +netgear,r7900 | \ netgear,r8000) ifname=eth0 ucidef_add_switch "switch0" \