summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-seama-header
blob: 000b773ed70981730d46db60554bf1ce17ea00c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/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 | \
mynet-n750)
	fix_seama_header kernel
	;;
esac