diff options
author | Stijn Tintel <stijn@linux-ipv6.be> | 2016-08-07 19:01:20 +0200 |
---|---|---|
committer | Stijn Tintel <stijn@linux-ipv6.be> | 2016-10-27 01:50:42 +0300 |
commit | e19427bd7988c77e3e682d7804386702ef69b593 (patch) | |
tree | 257d02c3cc6d3bda2bc3448f419df32e700f64ee /target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-checksum | |
parent | 9dfed03c35ca06afd7aa38b8584c74e06d12c516 (diff) | |
download | mtk-20170518-e19427bd7988c77e3e682d7804386702ef69b593.zip mtk-20170518-e19427bd7988c77e3e682d7804386702ef69b593.tar.gz mtk-20170518-e19427bd7988c77e3e682d7804386702ef69b593.tar.bz2 |
ar71xx/base-files: rename 09_fix-trx-header 09_fix-checksum
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-checksum')
-rw-r--r-- | target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-checksum | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-checksum b/target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-checksum new file mode 100644 index 0000000..1bfd525 --- /dev/null +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-checksum @@ -0,0 +1,19 @@ +#!/bin/sh +# +# Copyright (C) 2010 OpenWrt.org +# + +. /lib/ar71xx.sh + +board=$(ar71xx_board_name) + +fixtrx() { + mtd -o 32 fixtrx firmware +} + +case "$board" in +mynet-rext |\ +wrt160nl) + fixtrx + ;; +esac |