ramips: add sysled and sysupgrade to wr512-3gn
authorGabor Juhos <juhosg@openwrt.org>
Sun, 22 Jan 2012 13:43:23 +0000 (13:43 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 22 Jan 2012 13:43:23 +0000 (13:43 +0000)
Patch from #10035.

SVN-Revision: 29847

target/linux/ramips/base-files/etc/diag.sh
target/linux/ramips/base-files/lib/upgrade/platform.sh

index 9e09e69074f4195aef9ca05b50dede94f8e4ad4e..35cab281d91d34a3c520ccba928479958296856b 100755 (executable)
@@ -78,6 +78,9 @@ get_status_led() {
        wl-351)
                status_led="wl-351:amber:power"
                ;;
+       wr512-3gn)
+               status_led="wr512:green:wps"
+               ;;
        esac
 }
 
index 1906f564e396bcfe0ed6d2ac21f9ba94af9d4251..b4826f5598662431078cf6a1e637692f4470e678 100755 (executable)
@@ -30,7 +30,8 @@ platform_check_image() {
        w502u |\
        v22rw-2x2 | \
        wli-tx4-ag300n | \
-       whr-g300n)
+       whr-g300n |\
+       wr512-3gn)
                [ "$magic" != "2705" ] && {
                        echo "Invalid image type."
                        return 1