X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=blobdiff_plain;f=src%2Flibswift_udp%2Fmfold%2Frun.seeder.sh;fp=src%2Flibswift_udp%2Fmfold%2Frun.seeder.sh;h=941aebf2c6988d974e8cfa4129422ae9b761a61b;hb=46f3ca346fe499ba3e8f595fc5c2aa2b3e3c4d5f;hp=0000000000000000000000000000000000000000;hpb=d8da6fc1273a2acee935a15761b77a73424faef5;p=swifty.git diff --git a/src/libswift_udp/mfold/run.seeder.sh b/src/libswift_udp/mfold/run.seeder.sh new file mode 100644 index 0000000..941aebf --- /dev/null +++ b/src/libswift_udp/mfold/run.seeder.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +export LD_LIBRARY_PATH=$HOME/lib + +ulimit -c 1024000 +cd swift || exit 2 +if [ ! -e ScottKim_2008P.mp4 ]; then + wget -c http://video.ted.com/talks/podcast/ScottKim_2008P.mp4 || exit 1 +fi + +bin/swift-o2 -w -f ScottKim_2008P.mp4 -p -D \ + -l 0.0.0.0:$SEEDERPORT 2>$HOST-lerr | gzip > $HOST-lout.gz || exit 2 +exit