bcm53xx: fix regression in generating network config
authorRafał Miłecki <zajec5@gmail.com>
Sat, 9 Apr 2016 13:20:19 +0000 (13:20 +0000)
committerRafał Miłecki <zajec5@gmail.com>
Sat, 9 Apr 2016 13:20:19 +0000 (13:20 +0000)
Syntax error was added in r49122.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49159

target/linux/bcm53xx/base-files/etc/board.d/02_network

index ea49f827b2b4ac161c2f9beb1c569bba03ad7852..afb537fbfedf0b4a20317b720464dc6434179bb1 100755 (executable)
@@ -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" \