aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib/upgrade
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-08-01 14:31:04 +0000
committerJohn Crispin <john@openwrt.org>2013-08-01 14:31:04 +0000
commit54968110f119a4aa7e9e536f6c2a4a3a973607ea (patch)
treed6eb266d47c0063019f10e86351148122ec8efe6 /target/linux/ramips/base-files/lib/upgrade
parent0dc3b44b0de4aee29a9de9b8f24f302e4d08d7a3 (diff)
downloadupstream-54968110f119a4aa7e9e536f6c2a4a3a973607ea.tar.gz
upstream-54968110f119a4aa7e9e536f6c2a4a3a973607ea.tar.bz2
upstream-54968110f119a4aa7e9e536f6c2a4a3a973607ea.zip
ramips: add Poray X5/X6 Support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> SVN-Revision: 37638
Diffstat (limited to 'target/linux/ramips/base-files/lib/upgrade')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 5e1a7a5651..4b80afa966 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -75,7 +75,8 @@ platform_check_image() {
whr-g300n |\
ur-326n4g |\
ur-336un |\
- wr512-3gn)
+ wr512-3gn |\
+ x5)
[ "$magic" != "27051956" ] && {
echo "Invalid image type."
return 1