openwrt/target/linux/ramips/base-files/etc/uci-defaults/09_fix-seama-header

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