mirror of https://github.com/hak5/openwrt.git
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: 24836lede-17.01
parent
daa854ee2d
commit
6ee5411686
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue