diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-03-27 17:38:40 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-03-27 17:38:40 +0000 |
commit | 8701291f0f7f20c5d8d815f34ed8f5ae3ee1b888 (patch) | |
tree | 009ec3aa977fa4a2ee5417f234642c0af2b6d395 /target/linux | |
parent | 905f2d62f9deeade28e33979a691e45930bc3628 (diff) | |
download | upstream-8701291f0f7f20c5d8d815f34ed8f5ae3ee1b888.tar.gz upstream-8701291f0f7f20c5d8d815f34ed8f5ae3ee1b888.tar.bz2 upstream-8701291f0f7f20c5d8d815f34ed8f5ae3ee1b888.zip |
ar71xx: add uci defaults to fix trx header on the WRT160NL boards
* patch by Otto Solares
SVN-Revision: 20526
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ar71xx/base-files/etc/uci-defaults/wrt160nl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/wrt160nl b/target/linux/ar71xx/base-files/etc/uci-defaults/wrt160nl new file mode 100644 index 0000000000..dce28dde94 --- /dev/null +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/wrt160nl @@ -0,0 +1,16 @@ +#!/bin/sh +# +# Copyright (C) 2010 OpenWrt.org +# + +. /lib/ar71xx.sh + +board=$(ar71xx_board_name) + +wrt160nl_fixtrx() { + mtd -o 32 fixtrx firmware +} + +if [ "${board}" == "wrt160nl" ]; then + wrt160nl_fixtrx +fi |