09_fix-seama-header 245 B

12345678910111213141516171819202122
  1. #!/bin/sh
  2. #
  3. # Copyright (C) 2012 OpenWrt.org
  4. #
  5. . /lib/ramips.sh
  6. fix_seama_header() {
  7. local part=$1
  8. mtd fixseama $part
  9. }
  10. board=$(ramips_board_name)
  11. case "$board" in
  12. cy-swr1100 | \
  13. dir-645 | \
  14. dir-860l-b1)
  15. fix_seama_header kernel
  16. ;;
  17. esac