#!/bin/bash
+# load config
+source ./config
+
if test $# -ne 1; then
echo "Usage: $0 seeder-ip" 1>&2
exit 1
kill -TERM $hook_pid > /dev/null 2>&1
}
+# remove receiver data, if any
+rm -fr $LEECHER_DIR/*
+
# wait for seeder startup
sleep 30
#!/bin/bash
+# load config
+source ./config
+
if test $# -ne 1; then
echo "Usage: $0 local-ip" 1>&2
exit 1
#!/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
#!/bin/bash
+# load config
+source ./config
+
if test $# -ne 1; then
echo "Usage: $0 receiver_ip" 1>&2
exit 1