aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorAndreas Ziegler <dev@andreas-ziegler.de>2019-10-22 22:44:29 +0200
committerDavid Bauer <mail@david-bauer.net>2019-10-27 18:13:33 +0100
commitb7ee43ecac53740d7c91c68eb1d3a421c1f1acb9 (patch)
treeeaf31c2be7dccb1cec57210f8f57190e0efe3af7 /target/linux/ar71xx/base-files
parent0e7113e6ece03c879bf99dff097dd868e3453f27 (diff)
downloadupstream-b7ee43ecac53740d7c91c68eb1d3a421c1f1acb9.tar.gz
upstream-b7ee43ecac53740d7c91c68eb1d3a421c1f1acb9.tar.bz2
upstream-b7ee43ecac53740d7c91c68eb1d3a421c1f1acb9.zip
ar71xx: add model detection for UniFi AC-LR
This commit adds correct model detection for UniFi AC-LR. Previously, said device was incorrectly detected as UniFi-AC-LITE/MESH. The Information about the device is stored at 0xC in the EEPROM partition. It corresponds to the sysid in /etc/board.info of the Ubiquiti stock firmware. Signed-off-by: Andreas Ziegler <dev@andreas-ziegler.de> [adjust naming style of target to existing ones] Signed-off-by: David Bauer <mail@david-bauer.net> (cherry picked from commit 2bc7c519dcc0e7ca09feed24a3b9a105bc49f423) Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 894835b14d..3f76c32854 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -111,6 +111,9 @@ ubnt_unifi_ac_board_detect() {
"e517")
model="Ubiquiti UniFi-AC-LITE"
;;
+ "e527")
+ model="Ubiquiti UniFi-AC-LR"
+ ;;
"e537")
model="Ubiquiti UniFi-AC-PRO"
;;