diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-01-18 12:42:53 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-01-18 12:42:53 +0000 |
commit | 560c530e279fb8ed2a4a23ba371a83870aacb71a (patch) | |
tree | b84fd84fae0b742a76e5d875482713db4c2ebbd2 /target/linux/ar71xx/base-files/etc/uci-defaults/09_wrt160nl | |
parent | 4f5ccb4de32ae75233b97c8b599f965479c22066 (diff) |
all targets: use numerically prefixed uci-defaults file names to better control order of execution
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35217 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults/09_wrt160nl')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/09_wrt160nl | 16 |
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 000000000..dce28dde9 --- /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 |