X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Far71xx%2Fbase-files%2Flib%2Far71xx.sh;fp=target%2Flinux%2Far71xx%2Fbase-files%2Flib%2Far71xx.sh;h=03dfbcebf9bff048d9d5149a323257ea26f2e724;hb=c79b796280fa5cd64bac663f9d5e5d9a737c30d6;hp=894835b14d79e8f47a6ddf013980d11278d07e78;hpb=e4155bcc4576feca11937a2f3d013848bced1a67;p=openwrt%2Fstaging%2Fhauke.git diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 894835b14d..03dfbcebf9 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -760,14 +760,11 @@ ar71xx_board_detect() { ;; *"CPE510/520") name="cpe510" + tplink_pharos_board_detect "$(tplink_pharos_get_model_string | tr -d '\r')" + ;; + *"CPE510 v2") + name="cpe510-v2" tplink_pharos_board_detect "$(tplink_pharos_v2_get_model_string)" - case $AR71XX_MODEL in - 'TP-Link CPE510 v2.0') - ;; - *) - tplink_pharos_board_detect "$(tplink_pharos_get_model_string | tr -d '\r')" - ;; - esac ;; *"CPE830") name="cpe830"