diff options
author | cshore <cshore@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-12-26 04:18:04 +0000 |
---|---|---|
committer | cshore <cshore@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-12-26 04:18:04 +0000 |
commit | c91e2ce7101ceb415797058237fbc3c284563901 (patch) | |
tree | 2c17c788bd5cb17154927c192d914a1a860226d5 /target/linux/brcm63xx/base-files/etc/uci-defaults | |
parent | 40e684229764c2de974108aeca87715c6707e8c7 (diff) |
base-files: Added uci-defaults script to run mtd fixtrx on firstboot for devices that need it.
Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24836 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/base-files/etc/uci-defaults')
-rwxr-xr-x | target/linux/brcm63xx/base-files/etc/uci-defaults/brcm63xx_fixcrc.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/brcm63xx_fixcrc.sh b/target/linux/brcm63xx/base-files/etc/uci-defaults/brcm63xx_fixcrc.sh new file mode 100755 index 000000000..fe35dc761 --- /dev/null +++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/brcm63xx_fixcrc.sh @@ -0,0 +1,20 @@ +#!/bin/sh +# +# Copyright (C) 2007 OpenWrt.org +# +# + +. /lib/brcm63xx.sh + +do_fixcrc() { + mtd fixtrx linux +} + +brcm63xx_detect + +case "$board_name" in + "bcm63xx/CPVA642 "*) + do_fixcrc + ;; +esac + |