From d4cb79ec5fae9eeba6591dd88dbcdf6012e4deb5 Mon Sep 17 00:00:00 2001 From: juhosg Date: Sat, 27 Mar 2010 17:38:40 +0000 Subject: [PATCH] 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 --- .../ar71xx/base-files/etc/uci-defaults/wrt160nl | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 target/linux/ar71xx/base-files/etc/uci-defaults/wrt160nl 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 000000000..dce28dde9 --- /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