CC: ar71xx: Fix WAN port location on EnGenius ESR1750 and EPG5000.
[15.05/openwrt.git] / target / linux / ar71xx / base-files / etc / uci-defaults / 09_fix-seama-header
1 #!/bin/sh
2 #
3 # Copyright (C) 2013 OpenWrt.org
4 #
5
6 . /lib/ar71xx.sh
7
8 fix_seama_header() {
9         local part=$1
10
11         mtd fixseama $part
12 }
13
14 board=$(ar71xx_board_name)
15
16 case "$board" in
17 mynet-n600 | \
18 mynet-n750)
19         fix_seama_header kernel
20         ;;
21 esac