#!/bin/sh

cp /mnt/usb/update/* /showven/
rm -rf /showven/update

cd /
tar -cf showven/sys_pic0.lib showven/picture0/*
tar -cf showven/sys_pic1.lib showven/picture1/*
tar -cf showven/sys_pic2.lib showven/picture2/*
tar -cf showven/sys_pic3.lib showven/picture3/*

wait
sync

