mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22644 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -51,6 +51,9 @@ get_status_led() {
|
|||||||
dir-825-b1)
|
dir-825-b1)
|
||||||
status_led="dir825b1:orange:power"
|
status_led="dir825b1:orange:power"
|
||||||
;;
|
;;
|
||||||
|
eap7660d)
|
||||||
|
status_led="eap7660d:green:ds4"
|
||||||
|
;;
|
||||||
ls-sr71)
|
ls-sr71)
|
||||||
status_led="ubnt:green:d22"
|
status_led="ubnt:green:d22"
|
||||||
;;
|
;;
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ platform_check_image() {
|
|||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
routerstation | routerstation-pro | ls-sr71 | pb42 | pb44)
|
routerstation | routerstation-pro | ls-sr71 | pb42 | pb44 | eap7660d )
|
||||||
[ "$magic" != "4349" ] && {
|
[ "$magic" != "4349" ] && {
|
||||||
echo "Invalid image. Use *-sysupgrade.bin files on this board"
|
echo "Invalid image. Use *-sysupgrade.bin files on this board"
|
||||||
return 1
|
return 1
|
||||||
@@ -123,7 +123,7 @@ platform_do_upgrade() {
|
|||||||
local board=$(ar71xx_board_name)
|
local board=$(ar71xx_board_name)
|
||||||
|
|
||||||
case "$board" in
|
case "$board" in
|
||||||
routerstation | routerstation-pro | ls-sr71)
|
routerstation | routerstation-pro | ls-sr71 | eap7660d )
|
||||||
platform_do_upgrade_combined "$ARGV"
|
platform_do_upgrade_combined "$ARGV"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|||||||
Reference in New Issue
Block a user