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 | 05f3bb99df154273ffda1bbf90228b136edf7094 (patch) | |
tree | aaa9714ee8a798cd7a80cd4ab71788560154e59a /target | |
parent | 79c06a8dc90054dfc1a54f9aabbf164d5f8ffacc (diff) | |
download | upstream-05f3bb99df154273ffda1bbf90228b136edf7094.tar.gz upstream-05f3bb99df154273ffda1bbf90228b136edf7094.tar.bz2 upstream-05f3bb99df154273ffda1bbf90228b136edf7094.zip |
ar71xx: add uci defaults to fix trx header on the WRT160NL boards
* patch by Otto Solares
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20526 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-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 |