X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Far71xx%2Fbase-files%2Flib%2Far71xx.sh;h=3203273d5750aa7af199216213c639de8698e8bb;hb=cede06cebc7678b5d617ab4f64b3b53b8bbe44dc;hp=c677c0874ce69345430be81f7a7abae4974a0201;hpb=59fc337a9a7009b9c6551336461099a09c57e924;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index c677c0874c..3203273d57 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -39,7 +39,7 @@ wndr3700_board_detect() { "33373031") model="$(ar71xx_get_mtd_offset_size_format art 41 32 %c)" # Use awk to remove everything unprintable - model_stripped="$(echo -n "$model" | LC_CTYPE=C awk -v 'FS=[^[:print:]]' '{print $1; exit}')" + model_stripped="$(ar71xx_get_mtd_offset_size_format art 41 32 %c | LC_CTYPE=C awk -v 'FS=[^[:print:]]' '{print $1; exit}')" case $model in $'\xff'*) if [ "${model:24:1}" = 'N' ]; then @@ -114,6 +114,9 @@ tplink_board_detect() { "044403"*) model="ANTMINER-S3" ;; + "44440101"*) + model="ANTROUTER-R1" + ;; "120000"*) model="MERCURY MAC1200R" ;; @@ -414,6 +417,9 @@ ar71xx_board_detect() { *CAP324) name="cap324" ;; + *C-55) + name="c-55" + ;; *CAP4200AG) name="cap4200ag" ;; @@ -427,6 +433,9 @@ ar71xx_board_detect() { *CR3000) name="cr3000" ;; + *CR5000) + name="cr5000" + ;; *"DB120 reference board") name="db120" ;; @@ -815,6 +824,9 @@ ar71xx_board_detect() { *"TL-WA801ND v2") name="tl-wa801nd-v2" ;; + *"TL-WA801ND v3") + name="tl-wa801nd-v3" + ;; *TL-WA901ND) name="tl-wa901nd" ;; @@ -896,6 +908,9 @@ ar71xx_board_detect() { *UniFi) name="unifi" ;; + *"UniFi-AC") + name="unifiac" + ;; *"UniFi AP Pro") name="uap-pro" ;; @@ -965,6 +980,9 @@ ar71xx_board_detect() { *"WNR1000 V2") name="wnr1000-v2" ;; + *WPN824N) + name="wpn824n" + ;; *WRT160NL) name="wrt160nl" ;;