mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44304 3c298f89-4303-0410-b956-a3cf2f4a3e73
23 lines
245 B
Bash
23 lines
245 B
Bash
#!/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
|