ControlScripts: configurare relative path to scenario_config file
authorRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Fri, 6 Aug 2010 13:45:34 +0000 (16:45 +0300)
committerRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Fri, 6 Aug 2010 14:48:14 +0000 (17:48 +0300)
16 files changed:
ControlScripts/detect_complete_client.sh
ControlScripts/post-run_bw_limit.sh
ControlScripts/post-run_bw_limit_ct.sh
ControlScripts/post-run_nop.sh
ControlScripts/pre-run_bw_limit.sh
ControlScripts/pre-run_bw_limit_ct.sh
ControlScripts/pre-run_nop.sh
ControlScripts/start_doe.sh
ControlScripts/start_hrk_leecher.sh
ControlScripts/start_hrk_seeder.sh
ControlScripts/start_leecher.sh
ControlScripts/start_proxy.sh
ControlScripts/start_seeder.sh
ControlScripts/start_tracker.sh
ControlScripts/start_tribler.sh
ControlScripts/stop_client.sh

index 4a79506..64ce19f 100755 (executable)
@@ -20,7 +20,7 @@ fi
 source ../ConfigFiles/globalconfig
 
 # Read scenarion configuration file (CLIENT_TYPE)
-source ${BASE_PATH}/ClientWorkingFolders/TmpLogs/scenario_config
+source ../ClientWorkingFolders/TmpLogs/scenario_config
 
 # Read client mappings configuration file
 source ../ConfigFiles/client_script_mappings
index 6d7d0eb..6b02bb5 100755 (executable)
@@ -5,6 +5,6 @@
 # post-run script for local bandwidth limitation scenarios
 
 # source configuration file
-source ${BASE_PATH}/ClientWorkingFolders/TmpLogs/scenario_config
+source ../ClientWorkingFolders/TmpLogs/scenario_config
 
 ./bw_limit.sh del ${IFACE}
index b48d0bd..5a4ea20 100755 (executable)
@@ -5,6 +5,6 @@
 # post-run script for container bandwidth limitation scenarios
 
 # source configuration file
-source ${BASE_PATH}/ClientWorkingFolders/TmpLogs/scenario_config
+source ../ClientWorkingFolders/TmpLogs/scenario_config
 
 ./bw_limit_ct.sh del ${IFACE}
index 57207de..73b99f2 100755 (executable)
@@ -5,4 +5,4 @@
 # pre-run script for client-based limitation scenarios
 
 # source configuration file
-source ${BASE_PATH}/ClientWorkingFolders/TmpLogs/scenario_config
+source ../ClientWorkingFolders/TmpLogs/scenario_config
index fad41f8..657a952 100755 (executable)
@@ -5,4 +5,4 @@
 # pre-run script for local bandwidth limitation scenarios
 
 # source configuration file
-source ${BASE_PATH}/ClientWorkingFolders/TmpLogs/scenario_config
+source ../ClientWorkingFolders/TmpLogs/scenario_config
index aed7a9d..a0165b8 100755 (executable)
@@ -5,6 +5,6 @@
 # pre-run script for container bandwidth limitation scenarios
 
 # source configuration file
-source ${BASE_PATH}/ClientWorkingFolders/TmpLogs/scenario_config
+source ../ClientWorkingFolders/TmpLogs/scenario_config
 
-./bw_limit.sh set ${IFACE} ${DL_BW} ${DL_BURST} ${UL_BW} ${UL_BURST}
+./bw_limit_ct.sh set ${IFACE} ${DL_BW} ${DL_BURST} ${UL_BW} ${UL_BURST}
index 8682bbb..779bd0a 100755 (executable)
@@ -5,6 +5,6 @@
 # pre-run script for client-based limitation scenarios
 
 # source configuration file
-source ${BASE_PATH}/ClientWorkingFolders/TmpLogs/scenario_config
+source ../ClientWorkingFolders/TmpLogs/scenario_config
 
 ./bw_limit_ct.sh set ${IFACE} ${DL_BW} ${DL_BURST} ${UL_BW} ${UL_BURST}
index 19a87a1..bcb3711 100755 (executable)
@@ -12,7 +12,7 @@
 source ../ConfigFiles/globalconfig
 
 # Read scenarion configuration file (TORRENT_FILE)
-source ${BASE_PATH}/ClientWorkingFolders/TmpLogs/scenario_config
+source ../ClientWorkingFolders/TmpLogs/scenario_config
 
 export PYTHONPATH=$PYTHONPATH:.
 
index 7f7dd8c..221bad0 100755 (executable)
@@ -13,7 +13,7 @@
 source ../ConfigFiles/globalconfig
 
 # Read scenarion configuration file (TORRENT_FILE)
-source ${BASE_PATH}/ClientWorkingFolders/TmpLogs/scenario_config
+source ../ClientWorkingFolders/TmpLogs/scenario_config
 
 cd $WORKING_FOLDER_REL_PATH/Regular/
 
index 0bc2a46..5e1e3b9 100755 (executable)
@@ -13,7 +13,7 @@
 source ../ConfigFiles/globalconfig
 
 # Read scenarion configuration file (TORRENT_FILE)
-source ${BASE_PATH}/ClientWorkingFolders/TmpLogs/scenario_config
+source ../ClientWorkingFolders/TmpLogs/scenario_config
 
 cd $WORKING_FOLDER_REL_PATH/TorrentsAndData/
 
index 5c7c94e..3581e53 100755 (executable)
@@ -12,7 +12,7 @@
 source ../ConfigFiles/globalconfig
 
 # Read scenarion configuration file (TORRENT_FILE)
-source ${BASE_PATH}/ClientWorkingFolders/TmpLogs/scenario_config
+source ../ClientWorkingFolders/TmpLogs/scenario_config
 
 export PYTHONPATH=$PYTHONPATH:.
 
index 4af2b73..af475d4 100755 (executable)
@@ -20,7 +20,7 @@ fi
 source ../ConfigFiles/globalconfig
 
 # Read scenarion configuration file
-source ${BASE_PATH}/ClientWorkingFolders/TmpLogs/scenario_config
+source ../ClientWorkingFolders/TmpLogs/scenario_config
 
 # Read arguments
 PROXY_NO=$1
index 1ced71b..c885f13 100755 (executable)
@@ -11,7 +11,7 @@
 source ../ConfigFiles/globalconfig
 
 # Read scenarion configuration file (TORRENT_FILE)
-source ${BASE_PATH}/ClientWorkingFolders/TmpLogs/scenario_config
+source ../ClientWorkingFolders/TmpLogs/scenario_config
 
 export PYTHONPATH=$PYTHONPATH:.
 
index 3a7ee72..65dc392 100755 (executable)
@@ -11,7 +11,7 @@
 source ../ConfigFiles/globalconfig
 
 # Read scenarion configuration file
-source ${BASE_PATH}/ClientWorkingFolders/TmpLogs/scenario_config
+source ../ClientWorkingFolders/TmpLogs/scenario_config
 
 export PYTHONPATH=$PYTHONPATH:.
 
index 616cb9d..d2b1b6f 100755 (executable)
@@ -11,7 +11,7 @@
 source ../ConfigFiles/globalconfig
 
 # Read scenarion configuration file
-source ${BASE_PATH}/ClientWorkingFolders/TmpLogs/scenario_config
+source ../ClientWorkingFolders/TmpLogs/scenario_config
 
 export PYTHONPATH=$PYTHONPATH:.
 
index 821159a..733aeb8 100755 (executable)
@@ -14,7 +14,7 @@ _DEBUG="on"
 source ../ConfigFiles/globalconfig
 
 # Read scenarion configuration file (CLIENT_TYPE)
-source ${BASE_PATH}/ClientWorkingFolders/TmpLogs/scenario_config
+source ../ClientWorkingFolders/TmpLogs/scenario_config
 
 # Read client mappings configuration file
 source ../ConfigFiles/client_script_mappings