aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-11-02 10:18:19 +0000
committerJohn Crispin <john@openwrt.org>2015-11-02 10:18:19 +0000
commit165244a222bf466bd952bac38de1cbdd53a80113 (patch)
tree2f4da7113ce0d9e65b1a4c295a61d76def261c94 /target/linux/ramips/base-files/lib
parent0f4b153e3d3c7e49d85a541dbfbd45109e396ad9 (diff)
downloadupstream-165244a222bf466bd952bac38de1cbdd53a80113.tar.gz
upstream-165244a222bf466bd952bac38de1cbdd53a80113.tar.bz2
upstream-165244a222bf466bd952bac38de1cbdd53a80113.zip
ramips: add support for ZBT WG2626
Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 47351
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 2ed09c9b33..62a79c505c 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -454,6 +454,9 @@ ramips_board_detect() {
*"ZBT-WA05")
name="zbt-wa05"
;;
+ *"ZBT-WG2626")
+ name="zbt-wg2626"
+ ;;
*"ZBT-WR8305RT")
name="zbt-wr8305rt"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 33ec8cc854..3d4b73afb6 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -132,6 +132,7 @@ platform_check_image() {
y1|\
y1s|\
zbt-wa05|\
+ zbt-wg2626|\
zbt-wr8305rt|\
zte-q7)
[ "$magic" != "27051956" ] && {