diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-09-19 22:36:41 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-09-19 22:36:41 +0000 |
commit | 7f9d2292fa00bbc98e4efc9f957d1b0b72f927c8 (patch) | |
tree | 6c5bf63226e490857d83385c77bdf55970f8089d /target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-seama-header | |
parent | 8b50ecc6ffa8439405b7fce3737eea2464ba591c (diff) | |
download | mtk-20170518-7f9d2292fa00bbc98e4efc9f957d1b0b72f927c8.zip mtk-20170518-7f9d2292fa00bbc98e4efc9f957d1b0b72f927c8.tar.gz mtk-20170518-7f9d2292fa00bbc98e4efc9f957d1b0b72f927c8.tar.bz2 |
ar71xx: add user-space support for the WD My Net N600 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38074
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-seama-header')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-seama-header | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-seama-header b/target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-seama-header new file mode 100755 index 0000000..8114ed4 --- /dev/null +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-seama-header @@ -0,0 +1,20 @@ +#!/bin/sh +# +# Copyright (C) 2013 OpenWrt.org +# + +. /lib/ar71xx.sh + +fix_seama_header() { + local part=$1 + + mtd fixseama $part +} + +board=$(ar71xx_board_name) + +case "$board" in +mynet-n600) + fix_seama_header kernel + ;; +esac |