# libtorrent-rasterbar location
# * at the end deletes the downloaded data
-# Read the global configuration variables
-source ../ConfigFiles/globalconfig
+# Read the global configuration file
+# Check if the global configuration file exists
+if [ ! -e ../../../ConfigFiles/globalconfig ]; then
+ echo "Warning: The global config file ../../../ConfigFiles/globalconfig does not exist."
+else
+ source ../../../ConfigFiles/globalconfig
+fi
# Read scenarion configuration file (TORRENT_FILE)
source ../ClientWorkingFolders/TmpLogs/scenario_config
# libtorrent-rasterbar location
# * at the end deletes the downloaded data
-# Read the global configuration variables
-source ../ConfigFiles/globalconfig
+# Read the global configuration file
+# Check if the global configuration file exists
+if [ ! -e ../../../ConfigFiles/globalconfig ]; then
+ echo "Warning: The global config file ../../../ConfigFiles/globalconfig does not exist."
+else
+ source ../../../ConfigFiles/globalconfig
+fi
# Read scenarion configuration file (TORRENT_FILE)
source ../ClientWorkingFolders/TmpLogs/scenario_config
# * 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
-# Read the global configuration variables
-source ../ConfigFiles/globalconfig
+# Read the global configuration file
+# Check if the global configuration file exists
+if [ ! -e ../../../ConfigFiles/globalconfig ]; then
+ echo "Warning: The global config file ../../../ConfigFiles/globalconfig does not exist."
+else
+ source ../../../ConfigFiles/globalconfig
+fi
# Read scenarion configuration file (TORRENT_FILE)
source ../ClientWorkingFolders/TmpLogs/scenario_config
# * changes current working directory to proxymode
# * starts a GUI tribler instance
-# Read the global configuration variables
-source ../ConfigFiles/globalconfig
+# Read the global configuration file
+# Check if the global configuration file exists
+if [ ! -e ../../../ConfigFiles/globalconfig ]; then
+ echo "Warning: The global config file ../../../ConfigFiles/globalconfig does not exist."
+else
+ source ../../../ConfigFiles/globalconfig
+fi
# Read scenarion configuration file
source ../ClientWorkingFolders/TmpLogs/scenario_config
# * 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
-# Read the global configuration variables
-source ../ConfigFiles/globalconfig
+# Read the global configuration file
+# Check if the global configuration file exists
+if [ ! -e ../../../ConfigFiles/globalconfig ]; then
+ echo "Warning: The global config file ../../../ConfigFiles/globalconfig does not exist."
+else
+ source ../../../ConfigFiles/globalconfig
+fi
# Read scenarion configuration file (TORRENT_FILE)
source ../ClientWorkingFolders/TmpLogs/scenario_config
exit 1
fi
-# Read the global configuration variables
-source ../ConfigFiles/globalconfig
+# Read the global configuration file
+# Check if the global configuration file exists
+if [ ! -e ../../../ConfigFiles/globalconfig ]; then
+ echo "Warning: The global config file ../../../ConfigFiles/globalconfig does not exist."
+else
+ source ../../../ConfigFiles/globalconfig
+fi
# Read scenarion configuration file
source ../ClientWorkingFolders/TmpLogs/scenario_config
# * 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
-# Read the global configuration variables
-source ../ConfigFiles/globalconfig
+# Read the global configuration file
+# Check if the global configuration file exists
+if [ ! -e ../../../ConfigFiles/globalconfig ]; then
+ echo "Warning: The global config file ../../../ConfigFiles/globalconfig does not exist."
+else
+ source ../../../ConfigFiles/globalconfig
+fi
# Read scenarion configuration file (TORRENT_FILE)
source ../ClientWorkingFolders/TmpLogs/scenario_config
exit 1
fi
-# Read the global configuration variables
-source ../ConfigFiles/globalconfig
+# Read the global configuration file
+# Check if the global configuration file exists
+if [ ! -e ../ConfigFiles/globalconfig ]; then
+ echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+else
+ source ../ConfigFiles/globalconfig
+fi
# Read scenarion configuration file (CLIENT_TYPE)
source ../ClientWorkingFolders/TmpLogs/scenario_config
exit 1
fi
-# Read the global configuration variables
-source ../ConfigFiles/globalconfig
+# Read the global configuration file
+# Check if the global configuration file exists
+if [ ! -e ../ConfigFiles/globalconfig ]; then
+ echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+else
+ source ../ConfigFiles/globalconfig
+fi
# Read client mappings configuration file
source ../ConfigFiles/client_script_mappings
exit 1
fi
-# Read the global configuration variables
-source ../ConfigFiles/globalconfig
+# Read the global configuration file
+# Check if the global configuration file exists
+if [ ! -e ../ConfigFiles/globalconfig ]; then
+ echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+else
+ source ../ConfigFiles/globalconfig
+fi
# Read arguments
CAMPAIGN_FILE=$1
exit 1
fi
-# Read the global configuration variables
-source ../ConfigFiles/globalconfig
+# Read the global configuration file
+# Check if the global configuration file exists
+if [ ! -e ../ConfigFiles/globalconfig ]; then
+ echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+else
+ source ../ConfigFiles/globalconfig
+fi
# Read arguments
ACTION=$1
# use _DEBUG="off" to turn off debug printing
_DEBUG="on"
-# Read the global configuration variables
-source ../ConfigFiles/globalconfig
+# Read the global configuration file
+# Check if the global configuration file exists
+if [ ! -e ../ConfigFiles/globalconfig ]; then
+ echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+else
+ source ../ConfigFiles/globalconfig
+fi
# Read scenarion configuration file
source ../ClientWorkingFolders/TmpLogs/scenario_config
# * changes current working directory to BitTornado-CVS
# * starts a tracker listening on port 6969
-# Read the global configuration variables
-source ../ConfigFiles/globalconfig
+# Read the global configuration file
+# Check if the global configuration file exists
+if [ ! -e ../ConfigFiles/globalconfig ]; then
+ echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+else
+ source ../ConfigFiles/globalconfig
+fi
# Read scenarion configuration file
source ../ClientWorkingFolders/TmpLogs/scenario_config
# use _DEBUG="off" to turn off debug printing
_DEBUG="on"
-# Read the global configuration variables
-source ../ConfigFiles/globalconfig
+# Read the global configuration file
+# Check if the global configuration file exists
+if [ ! -e ../ConfigFiles/globalconfig ]; then
+ echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+else
+ source ../ConfigFiles/globalconfig
+fi
# Read scenarion configuration file (CLIENT_TYPE)
source ../ClientWorkingFolders/TmpLogs/scenario_config
# ./grep_search.sh "text"
-# Read the global configuration variables
-source ../ConfigFiles/globalconfig
+# Read the global configuration file
+# Check if the global configuration file exists
+if [ ! -e ../ConfigFiles/globalconfig ]; then
+ echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+else
+ source ../ConfigFiles/globalconfig
+fi
cd $TRIBLER_REL_PATH
# * changes current working directory to proxyservice-m32
# * starts a tribler cmd-line instance to display the current version
-# Read the global configuration variables
-source ../ConfigFiles/globalconfig
+# Read the global configuration file
+# Check if the global configuration file exists
+if [ ! -e ../ConfigFiles/globalconfig ]; then
+ echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+else
+ source ../ConfigFiles/globalconfig
+fi
export PYTHONPATH=$PYTHONPATH:.
# Copyright: George Milescu 2010 - george.milescu@gmail.com
#
-# Read the global configuration variables
-source ../ConfigFiles/globalconfig
+# Read the global configuration file
+# Check if the global configuration file exists
+if [ ! -e ../ConfigFiles/globalconfig ]; then
+ echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+else
+ source ../ConfigFiles/globalconfig
+fi
rsync -avP --del $P2P_NEXT_REL_PATH p2p@p2p-next-01.grid.pub.ro:/home/p2p/george/P2P-Next
rsync -avP --del $P2P_NEXT_REL_PATH p2p@p2p-next-03.grid.pub.ro:/home/p2p/george/P2P-Next
# Copyright: George Milescu 2010 - george.milescu@gmail.com
#
-# Read the global configuration variables
-source ../ConfigFiles/globalconfig
+# Read the global configuration file
+# Check if the global configuration file exists
+if [ ! -e ../ConfigFiles/globalconfig ]; then
+ echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+else
+ source ../ConfigFiles/globalconfig
+fi
for host in p2p-next-01.grid.pub.ro p2p-next-03.grid.pub.ro p2p-next-04.grid.pub.ro p2p-next-05.grid.pub.ro p2p-next-06.grid.pub.ro p2p-next-07.grid.pub.ro p2p-next-08.grid.pub.ro p2p-next-09.grid.pub.ro p2p-next-10.grid.pub.ro; do
for port in 10122 10222 10322 10422 10522 10622 10722 10822 10922 11022; do
# Copyright: George Milescu 2010 - george.milescu@gmail.com
#
-# Read the global configuration variables
-source ../ConfigFiles/globalconfig
+# Read the global configuration file
+# Check if the global configuration file exists
+if [ ! -e ../ConfigFiles/globalconfig ]; then
+ echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+else
+ source ../ConfigFiles/globalconfig
+fi
rsync -avP --del $P2P_NEXT_REL_PATH george@p2p-next.xen.ssvl.kth.se:/home/george/P2P-Next
exit 1
fi
-# Read the global configuration variables
-source ../ConfigFiles/globalconfig
+# Read the global configuration file
+# Check if the global configuration file exists
+if [ ! -e ../ConfigFiles/globalconfig ]; then
+ echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+else
+ source ../ConfigFiles/globalconfig
+fi
host=$1
port=$2
exit 1
fi
-# Read the global configuration variables
-source ../ConfigFiles/globalconfig
+# Read the global configuration file
+# Check if the global configuration file exists
+if [ ! -e ../ConfigFiles/globalconfig ]; then
+ echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+else
+ source ../ConfigFiles/globalconfig
+fi
host=$1
port=$2
# Copyright: George Milescu 2010 - george.milescu@gmail.com
#
-# Read the global configuration variables
-source ../ConfigFiles/globalconfig
+# Read the global configuration file
+# Check if the global configuration file exists
+if [ ! -e ../ConfigFiles/globalconfig ]; then
+ echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+else
+ source ../ConfigFiles/globalconfig
+fi
rsync -avP --del $P2P_NEXT_REL_PATH george@swarm.cs.pub.ro:/home/george/P2P-Next
# Copyright: George Milescu 2010 - george.milescu@gmail.com
#
-# Read the global configuration variables
-source ../ConfigFiles/globalconfig
+# Read the global configuration file
+# Check if the global configuration file exists
+if [ ! -e ../ConfigFiles/globalconfig ]; then
+ echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+else
+ source ../ConfigFiles/globalconfig
+fi
rsync -avP --del $P2P_NEXT_REL_PATH george@tracker.local:/home/george/P2P-Next
rsync -avP --del $P2P_NEXT_REL_PATH george@coordinator.local:/home/george/P2P-Next