3 # Copyright (C) 2006-2010 OpenWrt.org
4 # Copyright (C) 2010 Vertical Communications
6 no_fo_copy_ramoverlay
() {
7 # copy ramoverlay to jffs2, must be done after switching
8 # to the new rootfs to avoid creating opaque directories
9 echo -n "copying files ... "
10 cp -a /tmp
/root
/* / >/dev
/null
2>&1
14 boot_hook_add no_fo no_fo_ramoverlay