summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-01-22 13:43:23 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-01-22 13:43:23 +0000
commita40700d373a5c7e33621c6046a40e11071780824 (patch)
treeccdc67f67a4cdd10ee8364f418614ee64afca03e /target/linux/ramips/base-files
parente6804feade4c5f6d5e0806a535be17d047c68385 (diff)
ramips: add sysled and sysupgrade to wr512-3gn
Patch from #10035. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29847 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh3
2 files changed, 5 insertions, 1 deletions
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