local ext_device=/dev/nande
local ext_path=$mountpoint/var/lib/clover
local tmpfs=$temppath/nandc
mkdir -p $ext_path

echo mounting $ext_device
mkdir -p $tmpfs
mount -o rw,nosuid,nodev,noatime $ext_device $tmpfs
echo moving data from nandc to nande...
cp -rf $tmpfs/* $ext_path
rm -rf $tmpfs/*
umount $tmpfs
rm -rf $tmpfs
