mirror of https://github.com/hak5/openwrt-owl.git
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
|