ar71xx/base-files: rename 09_fix-trx-header 09_fix-checksum
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / uci-defaults / 09_fix-checksum
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 (file)
index 0000000..1bfd525
--- /dev/null
@@ -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