#!/bin/sh

[ -z `pidof WonderServiceC` ] || killall WonderServiceC
if [ -d /tmp/wb_tmp ];then
	rm -rf /tmp/wb_tmp 
else
	mkdir /tmp/wb_tmp
fi
Ins_Dir=/var/packages/WonderBox
[ -d $Ins_Dir/target/conf ] && cp -pr $Ins_Dir/target/conf /tmp/wb_tmp/
[ -d $Ins_Dir/target/data ] && cp -pr $Ins_Dir/target/data /tmp/wb_tmp/

exit 0
