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-a3cf2f4a3e73master
parent
0727d4bcb6
commit
ba2cb89c06
|
@ -78,6 +78,9 @@ get_status_led() {
|
||||||
wl-351)
|
wl-351)
|
||||||
status_led="wl-351:amber:power"
|
status_led="wl-351:amber:power"
|
||||||
;;
|
;;
|
||||||
|
wr512-3gn)
|
||||||
|
status_led="wr512:green:wps"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,8 @@ platform_check_image() {
|
||||||
w502u |\
|
w502u |\
|
||||||
v22rw-2x2 | \
|
v22rw-2x2 | \
|
||||||
wli-tx4-ag300n | \
|
wli-tx4-ag300n | \
|
||||||
whr-g300n)
|
whr-g300n |\
|
||||||
|
wr512-3gn)
|
||||||
[ "$magic" != "2705" ] && {
|
[ "$magic" != "2705" ] && {
|
||||||
echo "Invalid image type."
|
echo "Invalid image type."
|
||||||
return 1
|
return 1
|
||||||
|
|
Loading…
Reference in New Issue