2012-10-18 07:23:03 +00:00
|
|
|
#!/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
|
2014-06-02 12:42:52 +00:00
|
|
|
cy-swr1100 | \
|
2015-01-17 21:20:05 +00:00
|
|
|
dir-645 | \
|
|
|
|
dir-860l-b1)
|
2012-10-18 07:23:03 +00:00
|
|
|
fix_seama_header kernel
|
|
|
|
;;
|
|
|
|
esac
|