# * starts a tribler cmd-line instance with the supplied .torrent file. The .torrent file must be located in the TorrentsAndData folder
# * at the end deletes the downloaded data
#
-# If you run this script manually, you must run it from the P2P-Testing-Infrastructure/ControlScripts folder
+# If you run this script manually, you must run it from the P2P-Testing-Infrastructure/ControlScripts folder and use one argument: the torrent file name that will be loaded from the TorrentsAndData folder
#
# Read the global configuration file
source ../ClientWorkingFolders/TmpLogs/node_config
fi
+if [ " $TORRENT_FILE" = " " ]; then
+ TORRENT_FILE=$1
+fi
+
export PYTHONPATH=$PYTHONPATH:.
cd $TRIBLER_REL_PATH
# * starts a tribler cmd-line instance with the supplied .torrent file. The .torrent file must be located in the TorrentsAndData folder
# * at the end deletes the downloaded data
#
-# If you run this script manually, you must run it from the P2P-Testing-Infrastructure/ControlScripts folder
+# If you run this script manually, you must run it from the P2P-Testing-Infrastructure/ControlScripts folder and use one argument: the torrent file name that will be loaded from the TorrentsAndData folder
#
# Read the global configuration file
source ../ClientWorkingFolders/TmpLogs/node_config
fi
+if [ " $TORRENT_FILE" = " " ]; then
+ TORRENT_FILE=$1
+fi
+
export PYTHONPATH=$PYTHONPATH:.
cd $TRIBLER_REL_PATH
# Script arguments:
# * proxy number [1-4]
#
-# If you run this script manually, you must run it from the P2P-Testing-Infrastructure/ControlScripts folder
+# If you run this script manually, you must run it from the P2P-Testing-Infrastructure/ControlScripts folder and use one argument: the the proxy number
#
if [ ! $# -eq 1 ]; then
# * changes current working directory to proxyservice-m32
# * starts a command line BT client seeding the supplied .torrent file. The .torrent file must be located in the TorrentsAndData folder
#
-# If you run this script manually, you must run it from the P2P-Testing-Infrastructure/ControlScripts folder
+# If you run this script manually, you must run it from the P2P-Testing-Infrastructure/ControlScripts folder and use one argument: the torrent file name that will be loaded from the TorrentsAndData folder
#
# Read the global configuration file
source ../ClientWorkingFolders/TmpLogs/node_config
fi
+if [ " $TORRENT_FILE" = " " ]; then
+ TORRENT_FILE=$1
+fi
export PYTHONPATH=$PYTHONPATH:.