[base system & package/block-extroot] Fixed duplicated content in file in commit...
[openwrt.git] / package / base-files / files / lib / firstboot / 40_no_fo_copy_ramoverlay
1 #!/bin/sh
2
3 # Copyright (C) 2006-2010 OpenWrt.org
4 # Copyright (C) 2010 Vertical Communications
5
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
11 sync
12 }
13
14 boot_hook_add no_fo no_fo_ramoverlay
This page took 0.070925 seconds and 5 git commands to generate.