From e9d8deaaedf2d5040918d9b26bdb2b056354e17d Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Sun, 22 Jan 2012 13:43:23 +0000 Subject: [PATCH] ramips: add sysled and sysupgrade to wr512-3gn Patch from #10035. SVN-Revision: 29847 --- target/linux/ramips/base-files/etc/diag.sh | 3 +++ target/linux/ramips/base-files/lib/upgrade/platform.sh | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 9e09e69074..35cab281d9 100755 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -78,6 +78,9 @@ get_status_led() { wl-351) status_led="wl-351:amber:power" ;; + wr512-3gn) + status_led="wr512:green:wps" + ;; esac } diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 1906f564e3..b4826f5598 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -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 -- 2.30.2