From 7434f8509756b9c5a9c1f0b56ad63b946e763427 Mon Sep 17 00:00:00 2001 From: Carmelo Pellegrino <carmelo.pellegrino@gmail.com> Date: Mon, 25 May 2015 16:01:32 +0200 Subject: [PATCH] reading the DAQ server address from shell var --- patch-control.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/patch-control.sh b/patch-control.sh index 190a8d2..3a0e05f 100755 --- a/patch-control.sh +++ b/patch-control.sh @@ -14,6 +14,7 @@ # DM_EXE_DIR -> the absolute path of the folder which contain DetectorControl.exe # DM_DATA_DIR -> the absolute path of the folder which contain the detectorfile # PC_CONF_DIR -> the absolute path of the pc.cfg configuration file +# DAQ_SERVER -> IP address of the DAQ Server function put_lock() { touch /tmp/pc.lock @@ -170,7 +171,7 @@ PROCS=(${PROCS[*]} $!) # Launch the DAQ log "Launching the DAQ with the following command line: daq.sh ${run_number} ${run_start_time} ${run_duration_seconds}" daq_driver_log_file=~/.km3_private/daq_driver_${run_number}.log -daq.sh ${run_number} ${run_start_time} ${run_duration_seconds} >${daq_driver_log_file} & +daq.sh ${run_number} ${run_start_time} ${run_duration_seconds} >${daq_driver_log_file} ${DAQ_SERVER} & PROCS=(${PROCS[*]} $!) # Put notification mark in the system tray -- GitLab