From e66fc2a0797bd147f36007031e30771007ef06de Mon Sep 17 00:00:00 2001 From: Razvan Deaconescu Date: Tue, 10 Aug 2010 13:43:54 +0300 Subject: [PATCH] ControlScripts: update hrktorrent limited run scripts (using hrktorrent getopt_long-based implementatio) --- ControlScripts/clients/hrk/start_hrk_leecher_limit.sh | 2 +- ControlScripts/clients/hrk/start_hrk_seeder_limit.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.20.1