summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/etc/uci-defaults/09_fix-seama-header
blob: a6c392c6ba61f8ff5e2195be12af4385c16e376e (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) 2012 OpenWrt.org
#

. /lib/ramips.sh

fix_seama_header() {
	local part=$1

	mtd fixseama $part
}

board=$(ramips_board_name)

case "$board" in
cy-swr1100 | \
dir-645)
	fix_seama_header kernel
	;;
esac