summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
3 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index c0aadbc45..855d3a40b 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -114,6 +114,9 @@ get_status_led() {
wzr-hp-g300nh)
status_led="buffalo:green:router"
;;
+ wzr-hp-g300nh2)
+ status_led="buffalo:red:diag"
+ ;;
wndr3700)
status_led="wndr3700:green:power"
;;
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 83cad364b..ee242a43c 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -295,6 +295,9 @@ ar71xx_board_detect() {
*WZR-HP-G450H)
name="wzr-hp-g450h"
;;
+ *WZR-HP-G300NH2)
+ name="wzr-hp-g300nh2"
+ ;;
*WHR-HP-G300N)
name="whr-hp-g300n"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 2800b05df..324edfba9 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -102,6 +102,7 @@ platform_check_image() {
bullet-m | \
nanostation-m | \
rocket-m | \
+ wzr-hp-g300nh2 | \
wzr-hp-g300nh | \
wzr-hp-g450h | \
wzr-hp-ag300h | \