openwrt/target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-seama-header
Luka Perkov 92e6e80080 targets: files in uci-defaults do not need to be executables
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44304
2015-02-07 19:58:52 +00:00

22 lines
232 B
Bash

#!/bin/sh
#
# Copyright (C) 2013 OpenWrt.org
#
. /lib/ar71xx.sh
fix_seama_header() {
local part=$1
mtd fixseama $part
}
board=$(ar71xx_board_name)
case "$board" in
mynet-n600 | \
mynet-n750)
fix_seama_header kernel
;;
esac