3 # Copyright (C) 2006-2010 OpenWrt.org
4 # Copyright (C) 2010 Vertical Communications
7 # try to avoid fs changing while copying
8 mount -o remount,ro none / 2>&-
9 # copy ramoverlay to jffs2
10 echo -n "copying files ... "
11 cp -a /tmp/root/* /rom/overlay 2>&-
15 boot_hook_add switch2jffs copy_ramoverlay