40b740b232
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44016
22 lines
245 B
Bash
Executable file
22 lines
245 B
Bash
Executable file
#!/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 | \
|
|
dir-860l-b1)
|
|
fix_seama_header kernel
|
|
;;
|
|
esac
|