aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-03-11 21:02:43 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-03-11 21:02:43 +0000
commitd543f4b77186e841b11406adf33bffb8c0acf08f (patch)
tree1765ca6ac5f41261b57be7d3d1d9ed798f8640d7 /target/linux/ramips/base-files/lib
parent3c2ef04a0ea579c5cedd09d608d39b4b6bf635bc (diff)
downloadupstream-d543f4b77186e841b11406adf33bffb8c0acf08f.tar.gz
upstream-d543f4b77186e841b11406adf33bffb8c0acf08f.tar.bz2
upstream-d543f4b77186e841b11406adf33bffb8c0acf08f.zip
ramips: add user-space support for the Upvel UR-326N4G board
[juhosg: fix mac address setup] Patch from: Дмитрий Лебедев <lebedev@trendnet.ru> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35971
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
2 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 0702145358..6638b0a001 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -192,6 +192,9 @@ ramips_board_detect() {
*"WR512-3GN-like router")
name="wr512-3gn"
;;
+ *"UR-326N4G Wireless N router")
+ name="ur-326n4g"
+ ;;
*"UR-336UN Wireless N router")
name="ur-336un"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 1b358c12ed..97cc382b39 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -58,6 +58,7 @@ platform_check_image() {
wl-351 | \
wli-tx4-ag300n | \
whr-g300n |\
+ ur-326n4g |\
ur-336un |\
wr512-3gn)
[ "$magic" != "27051956" ] && {