30_reset_copy_rom 228 B

12345678910111213
  1. #!/bin/sh
  2. # Copyright (C) 2006-2010 OpenWrt.org
  3. # Copyright (C) 2010 Vertical Communications
  4. reset_copy_rom() {
  5. [ "$reset_has_fo" != "true" ] && {
  6. dupe $jffs $rom
  7. exit 0
  8. }
  9. }
  10. boot_hook_add jffs2reset reset_copy_rom