diff options
Diffstat (limited to 'target/linux/ar71xx/base-files')
4 files changed, 13 insertions, 0 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 0922550017..667d228410 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -411,6 +411,12 @@ gl-ar300) "0@eth1" "1:lan" "2:lan" "3:lan" "4:lan" ;; +jwap230) + ucidef_set_interfaces_lan_wan "eth0" "eth1" + ucidef_add_switch "switch0" \ + "0@eth0" "1:lan" "5:wan" "6@eth1" + ;; + wpj342) ucidef_add_switch "switch0" \ "0@eth0" "1:lan" "2:wan" diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 08e5fd0fc1..f517f9bad3 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -158,6 +158,9 @@ get_status_led() { ja76pf2) status_led="jjplus:green:led1" ;; + jwap230) + status_led="jwap230:green:led1" + ;; ls-sr71) status_led="ubnt:green:d22" ;; diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 936725fa58..4eed64b6fc 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -566,6 +566,9 @@ ar71xx_board_detect() { *JWAP003) name="jwap003" ;; + *JWAP230) + name="jwap230" + ;; *"Hornet-UB") local size size=$(awk '/firmware/ { print $2 }' /proc/mtd) diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index f5a8d0d0a7..119537e651 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -236,6 +236,7 @@ platform_check_image() { gl-domino | \ hiwifi-hc6361 | \ hornet-ub-x2 | \ + jwap230 | \ mzk-w04nu | \ mzk-w300nh | \ tew-632brp | \ |