summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-trx-header
blob: 1bfd5253ebc974ab10a10b970180b8230cc665d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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