From: Razvan Deaconescu Date: Tue, 10 Aug 2010 10:43:54 +0000 (+0300) Subject: ControlScripts: update hrktorrent limited run scripts (using hrktorrent getopt_long... X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=commitdiff_plain;h=e66fc2a0797bd147f36007031e30771007ef06de;p=p2p-testing-infrastructure.git ControlScripts: update hrktorrent limited run scripts (using hrktorrent getopt_long-based implementatio) --- diff --git a/ControlScripts/clients/hrk/start_hrk_leecher_limit.sh b/ControlScripts/clients/hrk/start_hrk_leecher_limit.sh index de65c02..c5673fc 100755 --- a/ControlScripts/clients/hrk/start_hrk_leecher_limit.sh +++ b/ControlScripts/clients/hrk/start_hrk_leecher_limit.sh @@ -38,6 +38,6 @@ cd $WORKING_FOLDER_REL_PATH/Regular/ KB_DOWN_LIMIT=$1 KB_UP_LIMIT=$2 -LD_LIBRARY_PATH=$HRK_ABS_PATH/../libtorrent-rasterbar/lib $HRK_ABS_PATH/hrktorrent --maxdown${KB_DOWN_LIMIT} --maxup${KB_UP_LIMIT} ../TorrentsAndData/$TORRENT_FILE +LD_LIBRARY_PATH=$HRK_ABS_PATH/../libtorrent-rasterbar/lib $HRK_ABS_PATH/hrktorrent --limitlocal --maxdown ${KB_DOWN_LIMIT} --maxup ${KB_UP_LIMIT} ../TorrentsAndData/$TORRENT_FILE rm -rf * diff --git a/ControlScripts/clients/hrk/start_hrk_seeder_limit.sh b/ControlScripts/clients/hrk/start_hrk_seeder_limit.sh index 0e10ddf..35a7656 100755 --- a/ControlScripts/clients/hrk/start_hrk_seeder_limit.sh +++ b/ControlScripts/clients/hrk/start_hrk_seeder_limit.sh @@ -38,4 +38,4 @@ cd $WORKING_FOLDER_REL_PATH/TorrentsAndData/ KB_DOWN_LIMIT=$1 KB_UP_LIMIT=$2 -LD_LIBRARY_PATH=$HRK_ABS_PATH/../libtorrent-rasterbar/lib $HRK_ABS_PATH/hrktorrent --maxdown${KB_DOWN_LIMIT} --maxup${KB_UP_LIMIT} $TORRENT_FILE +LD_LIBRARY_PATH=$HRK_ABS_PATH/../libtorrent-rasterbar/lib $HRK_ABS_PATH/hrktorrent --limitlocal --maxdown ${KB_DOWN_LIMIT} --maxup ${KB_UP_LIMIT} $TORRENT_FILE