ar71xx: fix RB941-2nD detection
authorJulien Rabier <taziden@flexiden.org>
Mon, 4 Feb 2019 20:03:35 +0000 (21:03 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Thu, 2 Jan 2020 00:57:49 +0000 (01:57 +0100)
commite838957ad9e8839d77030326cad650a518985f44
tree37139b48a908f2ac9936962b38c09b67a4bf1517
parent6b128326df105140f0b1fcbcd2af5c4c80b04242
ar71xx: fix RB941-2nD detection

Some hAP lite routers aren't detected because
/proc/cpuinfo shows "RouterBOARD RB941-2nD"
instead of "RouterBOARD 941-2nD".

Fix that.

Signed-off-by: Julien Rabier <taziden@flexiden.org>
[Alter string to include all flavours + slight rewrite of commit msg]
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
(cherry picked from commit 6570f3c93aa4110efd1466a6b89742c2e11d7c11)
target/linux/ar71xx/base-files/lib/ar71xx.sh