From: Matthias Schiffer Date: Sat, 3 Feb 2018 13:12:05 +0000 (+0100) Subject: ar71xx: /lib/ar71xx.sh: add model detection for TP-Link TL-WR810N X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fblogic.git;a=commitdiff_plain;h=0c719bfcaf7931cb9155598aa5e4e771dc9dec16 ar71xx: /lib/ar71xx.sh: add model detection for TP-Link TL-WR810N Properly report the revision in /tmp/sysinfo/model. Signed-off-by: Matthias Schiffer --- diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 2a793723d9a9..9d188400d3a8 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -215,6 +215,9 @@ tplink_board_detect() { [ "$hwid" = '08020002' -a "$mid" = '00000002' ] && hwver=' v2' ;; + "081000"*) + model="TP-Link TL-WR810N" + ;; "083000"*) model="TP-Link TL-WA830RE"