openwrt-owl/target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-trx-header

20 lines
193 B
Bash

#!/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