#!/bin/bash
mkdir -p $2/{log,shared}
cd $2/shared
torecho -m -s $1 > ../log/server-udpecho-stdout.log 2> ../log/server-udpecho-stderr.log