aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-01-17 21:20:05 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-01-17 21:20:05 +0000
commit40b740b23234574115225bf8bde7bc679f8034e1 (patch)
tree18b31dc33af7cf8723faefd73e0672b2f0fb987d /target/linux/ramips/base-files/lib
parent4d4536b090797c7d8918b8c24ca246aff1fcd942 (diff)
downloadupstream-40b740b23234574115225bf8bde7bc679f8034e1.tar.gz
upstream-40b740b23234574115225bf8bde7bc679f8034e1.tar.bz2
upstream-40b740b23234574115225bf8bde7bc679f8034e1.zip
ramips: add preliminary support for DIR-860L B1
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44016
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.sh3
2 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 5918640985..720b13790d 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -133,6 +133,9 @@ ramips_board_detect() {
*"DIR-810L")
name="dir-810l"
;;
+ *"DIR-860L B1")
+ name="dir-860l-b1"
+ ;;
*"DAP-1350")
name="dap-1350"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 2c423443c7..7c172119f4 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -133,7 +133,8 @@ platform_check_image() {
;;
cy-swr1100 |\
dir-610-a1 |\
- dir-645)
+ dir-645 |\
+ dir-860l-b1)
[ "$magic" != "5ea3a417" ] && {
echo "Invalid image type."
return 1