diff options
Diffstat (limited to 'target/linux/ar71xx/base-files')
4 files changed, 13 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index f720767fbb..b7b91d0ad8 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -66,6 +66,7 @@ ar71xx_setup_interfaces() bullet-m|\ c-55|\ cap4200ag|\ + eap120|\ eap300v2|\ eap7660d|\ el-mini|\ diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 0d069ec88c..7a40f44e4a 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -130,6 +130,9 @@ get_status_led() { oolite) status_led="$board:red:system" ;; + eap120) + status_led="$(ar71xx_board_name):green:system" + ;; eap300v2) status_led="engenius:blue:power" ;; diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 940c1c95de..1492b50774 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -361,6 +361,9 @@ tplink_pharos_board_detect() { 'CPE520(TP-LINK|UN|N300-5)') model='TP-Link CPE520' ;; + 'EAP120(TP-LINK|UN|N300-2)') + model='TP-Link EAP120' + ;; esac [ -n "$model" ] && AR71XX_MODEL="$model v$2" @@ -563,6 +566,10 @@ ar71xx_board_detect() { *"Domino Pi") name="gl-domino" ;; + *"EAP120") + name="eap120" + tplink_pharos_board_detect + ;; *"EAP300 v2") name="eap300v2" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 7c554e3f29..35e9bb4391 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -433,7 +433,8 @@ platform_check_image() { return $? ;; cpe210|\ - cpe510) + cpe510|\ + eap120) tplink_pharos_check_image "$1" && return 0 return 1 ;; |