diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-03-27 19:19:40 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-03-27 19:19:40 +0000 |
commit | d701a72760317b16cdcf9329ed498a7878294642 (patch) | |
tree | 416ff2c5ec8412b24c3c87f7cb6e4fe20a4e20f5 /target/linux/ramips/base-files | |
parent | a5acf1e9f6c571f4ccddf9b5d86b01d51fd1a84b (diff) | |
download | mtk-20170518-d701a72760317b16cdcf9329ed498a7878294642.zip mtk-20170518-d701a72760317b16cdcf9329ed498a7878294642.tar.gz mtk-20170518-d701a72760317b16cdcf9329ed498a7878294642.tar.bz2 |
ramips: add sysupgrade and status LED support for HW550-3G
This patch adds sysupgrade and status LED support for the Aztech
HW550-3G. Some LED GPIOs were changed for clarity.
Signed-off-by: Layne Edwards <ledwards76@gmail.com>
SVN-Revision: 26320
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 c69cb9e..051c884 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 d009428..bf8a986 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 |