mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
It is base on rt3662 soc with dual band 802.11n wireless router. Use rtl8367R switch chip. This patch adds a profile for this board. It use seama image header. so i also enable it on kernel config. Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40908 3c298f89-4303-0410-b956-a3cf2f4a3e73
22 lines
229 B
Bash
Executable File
22 lines
229 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)
|
|
fix_seama_header kernel
|
|
;;
|
|
esac
|