aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/uci-defaults/09_fix-seama-header
diff options
context:
space:
mode:
authorGeorge Hopkins <george-hopkins@null.net>2017-10-28 14:24:21 +0200
committerJohn Crispin <john@phrozen.org>2018-02-13 11:18:07 +0100
commit13f9e40602707479aaffac0d68a952070f305b7d (patch)
tree3bbc790ad9f611e2febe89059b29c3704bf8796d /target/linux/ramips/base-files/etc/uci-defaults/09_fix-seama-header
parent520335506273ed248074f7b3d2ba8bec148dddaa (diff)
downloadupstream-13f9e40602707479aaffac0d68a952070f305b7d.tar.gz
upstream-13f9e40602707479aaffac0d68a952070f305b7d.tar.bz2
upstream-13f9e40602707479aaffac0d68a952070f305b7d.zip
ramips: add support for D-Link DAP-1522 A1
D-Link DAP-1522 is a wireless bridge/access point with 4 LAN ports and a dual-band wireless chipset. Specifications: - Ralink RT2880 - 32 MB of RAM - 4 MB of Flash - 4x 10/100/1000 Mbps Ethernet (RTL8366SR) - 802.11abgn (RT2850) Flash Instructions: 1. Download lede-ramips-rt288x-dap-1522-a1-squashfs-factory.bin 2. Open the web interface and upload the image Signed-off-by: George Hopkins <george-hopkins@null.net>
Diffstat (limited to 'target/linux/ramips/base-files/etc/uci-defaults/09_fix-seama-header')
-rw-r--r--target/linux/ramips/base-files/etc/uci-defaults/09_fix-seama-header23
1 files changed, 0 insertions, 23 deletions
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/09_fix-seama-header b/target/linux/ramips/base-files/etc/uci-defaults/09_fix-seama-header
deleted file mode 100644
index 9533aed475..0000000000
--- a/target/linux/ramips/base-files/etc/uci-defaults/09_fix-seama-header
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-#
-# Copyright (C) 2012 OpenWrt.org
-#
-
-. /lib/functions.sh
-
-fix_seama_header() {
- local kernel_size=$(sed -n 's/mtd[0-9]*: \([0-9a-f]*\).*"kernel".*/\1/p' /proc/mtd)
-
- [ "$kernel_size" ] && mtd -c 0x$kernel_size fixseama firmware
-}
-
-board=$(board_name)
-
-case "$board" in
-cy-swr1100 | \
-dch-m225 | \
-dir-645 | \
-dir-860l-b1)
- fix_seama_header
- ;;
-esac