openwrt/target/linux/brcm63xx/base-files/etc/uci-defaults/brcm63xx_fixcrc.sh
Daniel Dickinson 6ee5411686 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>

SVN-Revision: 24836
2010-12-26 04:18:04 +00:00

21 lines
189 B
Bash
Executable File

#!/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