#!/bin/bash
+# load config
+source ./config
+
cleanup()
{
kill -TERM $client_pid > /dev/null 2>&1
kill -TERM $hook_pid > /dev/null 2>&1
}
+# remove receiver data, if any
+rm -fr $LEECHER_DIR/*
+
> $UTP_RECEIVER_OUT_LOG
> $UTP_RECEIVER_LOG_FILE
> $UTP_RECEIVER_MONITOR_LOG