35167f1adc22ab9370075af103a22fa06a45b80b
[openwrt.git] / target / linux / ramips / base-files / etc / uci-defaults / 09_fix-seama-header
1 #!/bin/sh
2 #
3 # Copyright (C) 2012 OpenWrt.org
4 #
5
6 . /lib/ramips.sh
7
8 fix_seama_header() {
9         local part=$1
10
11         mtd fixseama $part
12 }
13
14 board=$(ramips_board_name)
15
16 case "$board" in
17 cy-swr1100 | \
18 dir-645 | \
19 dir-860l-b1)
20         fix_seama_header kernel
21         ;;
22 esac