aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/uci-defaults/09_fix-seama-header
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files/etc/uci-defaults/09_fix-seama-header')
-rw-r--r--target/linux/ramips/base-files/etc/uci-defaults/09_fix-seama-header22
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/09_fix-seama-header b/target/linux/ramips/base-files/etc/uci-defaults/09_fix-seama-header
new file mode 100644
index 0000000..35167f1
--- /dev/null
+++ b/target/linux/ramips/base-files/etc/uci-defaults/09_fix-seama-header
@@ -0,0 +1,22 @@
+#!/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