aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2016-04-09 13:20:19 +0000
committerRafał Miłecki <zajec5@gmail.com>2016-04-09 13:20:19 +0000
commita9cad3618626f8533cf7588b110a755b23d28424 (patch)
tree0155cc9b1e247a58fb8c1da69ed2b72a03d99d8d
parent86c3263e9d9a735b9e9dce902cb0016dbb9630ec (diff)
downloadmaster-187ad058-a9cad3618626f8533cf7588b110a755b23d28424.tar.gz
master-187ad058-a9cad3618626f8533cf7588b110a755b23d28424.tar.bz2
master-187ad058-a9cad3618626f8533cf7588b110a755b23d28424.zip
bcm53xx: fix regression in generating network config
Syntax error was added in r49122. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49159 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xtarget/linux/bcm53xx/base-files/etc/board.d/02_network7
1 files changed, 4 insertions, 3 deletions
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" \