diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-11-07 22:31:53 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-11-07 22:31:53 +0000 |
commit | 1d2b049fcddbab6c467f71b1f9f999f195c708b4 (patch) | |
tree | c46821cbf87ee668a65cea6bbde670f8cbeee0ab /target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-trx-header | |
parent | 8a13106a7674bbfbec0b5062efc39858fce24210 (diff) |
ar71xx: add user-space support for the WD My Net Wi-Fi Range Extender
Patchwork: http://patchwork.openwrt.org/patch/4281/
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38687 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-trx-header')
-rw-r--r-- | target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-trx-header | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-trx-header b/target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-trx-header new file mode 100644 index 0000000000..1bfd5253eb --- /dev/null +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-trx-header @@ -0,0 +1,19 @@ +#!/bin/sh +# +# Copyright (C) 2010 OpenWrt.org +# + +. /lib/ar71xx.sh + +board=$(ar71xx_board_name) + +fixtrx() { + mtd -o 32 fixtrx firmware +} + +case "$board" in +mynet-rext |\ +wrt160nl) + fixtrx + ;; +esac |