From: Stijn Tintel Date: Sun, 7 Aug 2016 17:01:20 +0000 (+0200) Subject: ar71xx/base-files: rename 09_fix-trx-header 09_fix-checksum X-Git-Tag: v17.01.0-rc1~1032 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=e19427bd7988c77e3e682d7804386702ef69b593;p=openwrt%2Fstaging%2Fchunkeey.git ar71xx/base-files: rename 09_fix-trx-header 09_fix-checksum Signed-off-by: Stijn Tintel Acked-by: John Crispin --- 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 0000000000..1bfd5253eb --- /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 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-trx-header b/target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-trx-header deleted file mode 100644 index 1bfd5253eb..0000000000 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-trx-header +++ /dev/null @@ -1,19 +0,0 @@ -#!/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