Browse Source

ar71xx: add uci defaults to fix trx header on the WRT160NL boards

 * patch by Otto Solares

SVN-Revision: 20526
Gabor Juhos 16 years ago
parent
commit
8701291f0f
1 changed files with 16 additions and 0 deletions
  1. 16 0
      target/linux/ar71xx/base-files/etc/uci-defaults/wrt160nl

+ 16 - 0
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