diff options
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-x | target/linux/ramips/base-files/etc/diag.sh | 5 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/lib/upgrade/platform.sh | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index c69cb9e1c4..051c884de1 100755 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -42,7 +42,10 @@ get_status_led() { whr-g300n) status_led="whr-g300n:red:diag" ;; - esac; + hw550-3g) + status_led="hw550-3g:green:status" + ;; + esac } set_state() { diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index d0094286b5..bf8a9865be 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -14,7 +14,7 @@ platform_check_image() { [ "$ARGC" -gt 1 ] && return 1 case "$board" in - dir-300-b1 | fonera20n | v22rw-2x2 | whr-g300n) + dir-300-b1 | fonera20n | v22rw-2x2 | whr-g300n | hw550-3g) [ "$magic" != "2705" ] && { echo "Invalid image type." return 1 |