aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/uci-defaults/09_wrt160nl
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-01-18 12:42:53 +0000
committerJo-Philipp Wich <jow@openwrt.org>2013-01-18 12:42:53 +0000
commit3a2cccda2eb45c6b55ef33c73a4af2c88935f383 (patch)
tree42f8f7a8c928a04176ec598da4684b0d778e216d /target/linux/ar71xx/base-files/etc/uci-defaults/09_wrt160nl
parent0de21d9747688e37cc9a9fb92c41abcdde9ef09f (diff)
downloadupstream-3a2cccda2eb45c6b55ef33c73a4af2c88935f383.tar.gz
upstream-3a2cccda2eb45c6b55ef33c73a4af2c88935f383.tar.bz2
upstream-3a2cccda2eb45c6b55ef33c73a4af2c88935f383.zip
all targets: use numerically prefixed uci-defaults file names to better control order of execution
SVN-Revision: 35217
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults/09_wrt160nl')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/09_wrt160nl16
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/09_wrt160nl b/target/linux/ar71xx/base-files/etc/uci-defaults/09_wrt160nl
new file mode 100755
index 0000000000..dce28dde94
--- /dev/null
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/09_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