2 rm log.log
2> /dev
/null
6 # Get the client directory
7 client_directory
=`cat cfg/site.cfg | grep "client_directory" | sed -e 's/client_directory//' | sed -e 's/ //g' | sed -e 's/=//g'`
9 # Get the client setup directories
10 client_setup_directories
=`cat cfg/directories.cfg | grep "client_setup_directory" | sed -e 's/client_setup_directory//' | sed -e 's/ //g' | sed -e 's/=//g'`
13 echo \
*\
*\
*\
*\
*\
*\
*\
*\
*\
*\
*\
*\
*\
*\
*\
*\
*\
* > log.log
14 echo \
*\
*\
*\
*\
*\
*\
* CLIENT CLEAN
>> log.log
15 echo \
*\
*\
*\
*\
*\
*\
*\
*\
*\
*\
*\
*\
*\
*\
*\
*\
*\
* >> log.log
16 echo \
*\
*\
*\
*\
*\
*\
*\
*\
*\
*\
*\
*\
*\
*\
*\
*\
*\
*
17 echo \
*\
*\
*\
*\
*\
*\
* CLIENT CLEAN
18 echo \
*\
*\
*\
*\
*\
*\
*\
*\
*\
*\
*\
*\
*\
*\
*\
*\
*\
*
21 for i
in $client_setup_directories ; do
22 # Create the directory
23 rm $client_directory/$i/*