diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-11-07 22:31:53 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-11-07 22:31:53 +0000 |
commit | ddcce63c78539decab77d6b1176fd1c013e3e5ee (patch) | |
tree | c5be7a2e9fb3e292b1eb48b2c011a7bac9b46bb0 /target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-trx-header | |
parent | ece1323ed43aa8549d38ba123ca0ad88b95fa7f0 (diff) | |
download | upstream-ddcce63c78539decab77d6b1176fd1c013e3e5ee.tar.gz upstream-ddcce63c78539decab77d6b1176fd1c013e3e5ee.tar.bz2 upstream-ddcce63c78539decab77d6b1176fd1c013e3e5ee.zip |
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>
SVN-Revision: 38687
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 |