mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
21 lines
214 B
Plaintext
21 lines
214 B
Plaintext
|
#!/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
|
||
|
dir-645)
|
||
|
fix_seama_header kernel
|
||
|
;;
|
||
|
esac
|