This patch adds support for the Senao EAP7660D board to diag.sh and sysupgrade.

Signed-off-by: Daniel Golle <[email protected]>

Index: base-files/etc/diag.sh
===================================================================
--- base-files/etc/diag.sh      (revision 22240)
+++ base-files/etc/diag.sh      (working copy)
@@ -51,6 +51,9 @@
        dir-825-b1)
                status_led="dir825b1:orange:power"
                ;;
+       eap7660d)
+               status_led="eap7660d:green:ds4"
+               ;;
        ls-sr71)
                status_led="ubnt:green:d22"
                ;;
Index: base-files/lib/upgrade/platform.sh
===================================================================
--- base-files/lib/upgrade/platform.sh  (revision 22240)
+++ base-files/lib/upgrade/platform.sh  (working copy)
@@ -96,7 +96,7 @@
                }
                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 @@
        local board=$(ar71xx_board_name)
 
        case "$board" in
-       routerstation | routerstation-pro | ls-sr71)
+       routerstation | routerstation-pro | ls-sr71 | eap7660d )
                platform_do_upgrade_combined "$ARGV"
                ;;
        *)
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to