diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2013-01-18 12:42:53 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2013-01-18 12:42:53 +0000 |
commit | 3a2cccda2eb45c6b55ef33c73a4af2c88935f383 (patch) | |
tree | 42f8f7a8c928a04176ec598da4684b0d778e216d /target/linux/ramips/base-files/etc/uci-defaults/09_fix-seama-header | |
parent | 0de21d9747688e37cc9a9fb92c41abcdde9ef09f (diff) | |
download | upstream-3a2cccda2eb45c6b55ef33c73a4af2c88935f383.tar.gz upstream-3a2cccda2eb45c6b55ef33c73a4af2c88935f383.tar.bz2 upstream-3a2cccda2eb45c6b55ef33c73a4af2c88935f383.zip |
all targets: use numerically prefixed uci-defaults file names to better control order of execution
SVN-Revision: 35217
Diffstat (limited to 'target/linux/ramips/base-files/etc/uci-defaults/09_fix-seama-header')
-rwxr-xr-x | target/linux/ramips/base-files/etc/uci-defaults/09_fix-seama-header | 20 |
1 files changed, 20 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 100755 index 0000000000..d8bed79514 --- /dev/null +++ b/target/linux/ramips/base-files/etc/uci-defaults/09_fix-seama-header @@ -0,0 +1,20 @@ +#!/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 +dir-645) + fix_seama_header kernel + ;; +esac |