summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-18 12:42:53 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-18 12:42:53 +0000
commit560c530e279fb8ed2a4a23ba371a83870aacb71a (patch)
treeb84fd84fae0b742a76e5d875482713db4c2ebbd2 /target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc
parent4f5ccb4de32ae75233b97c8b599f965479c22066 (diff)
all targets: use numerically prefixed uci-defaults file names to better control order of execution
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35217 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc')
-rwxr-xr-xtarget/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc32
1 files changed, 32 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc b/target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc
new file mode 100755
index 000000000..edd8802b7
--- /dev/null
+++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc
@@ -0,0 +1,32 @@
+#!/bin/sh
+#
+# Copyright (C) 2007 OpenWrt.org
+#
+#
+
+. /lib/brcm63xx.sh
+
+do_fixcrc() {
+ mtd fixtrx linux
+}
+
+brcm63xx_detect
+
+case "$board_name" in
+ 96328avng |\
+ 96328A-1241N |\
+ 96328A-1441N1 |\
+ 963281TAN |\
+ 963281T_TEF |\
+ 96358-502V |\
+ "CPVA502+" |\
+ AW4339U |\
+ CPVA642 |\
+ CT6373-1 |\
+ MAGIC |\
+ V2110 |\
+ V2500V_BB)
+ do_fixcrc
+ ;;
+esac
+