summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-seama-header
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-seama-header')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/09_fix-seama-header20
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-seama-header b/target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-seama-header
new file mode 100755
index 0000000000..8114ed47e6
--- /dev/null
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-seama-header
@@ -0,0 +1,20 @@
+#!/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)
+ fix_seama_header kernel
+ ;;
+esac