diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-08-14 21:07:31 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-08-14 21:07:31 +0000 |
commit | e35f7ef51dd52ecb52e78e921ca5c5aabd7e2d30 (patch) | |
tree | f29ef16221f64b5f8788162dda8911ebb250b0e8 /target/linux | |
parent | 57bba92916a02bf1221838cd1181724ba4ee900e (diff) | |
download | upstream-e35f7ef51dd52ecb52e78e921ca5c5aabd7e2d30.tar.gz upstream-e35f7ef51dd52ecb52e78e921ca5c5aabd7e2d30.tar.bz2 upstream-e35f7ef51dd52ecb52e78e921ca5c5aabd7e2d30.zip |
ar71xx: add eap7660d board to diag.sh and sysupgrade
This patch adds support for the Senao EAP7660D board to diag.sh and sysupgrade.
Signed-off-by: Daniel Golle <daniel.golle@gmail.com>
SVN-Revision: 22644
Diffstat (limited to 'target/linux')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/diag.sh | 3 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 1634242075..384bf032ca 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -51,6 +51,9 @@ get_status_led() { dir-825-b1) status_led="dir825b1:orange:power" ;; + eap7660d) + status_led="eap7660d:green:ds4" + ;; ls-sr71) status_led="ubnt:green:d22" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 86b98c337d..bfa5cc69bd 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -96,7 +96,7 @@ platform_check_image() { } return 0 ;; - routerstation | routerstation-pro | ls-sr71 | pb42 | pb44) + routerstation | routerstation-pro | ls-sr71 | pb42 | pb44 | eap7660d ) [ "$magic" != "4349" ] && { echo "Invalid image. Use *-sysupgrade.bin files on this board" return 1 @@ -123,7 +123,7 @@ platform_do_upgrade() { local board=$(ar71xx_board_name) case "$board" in - routerstation | routerstation-pro | ls-sr71) + routerstation | routerstation-pro | ls-sr71 | eap7660d ) platform_do_upgrade_combined "$ARGV" ;; *) |