From abfde4dedd93283e8cec5c0fdcf282e56a8100d8 Mon Sep 17 00:00:00 2001
From: Carmelo Pellegrino <carmelo.pellegrino@gmail.com>
Date: Tue, 26 May 2015 16:10:46 +0200
Subject: [PATCH] update

---
 patch-control.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/patch-control.sh b/patch-control.sh
index 3a0e05f..0ce98db 100755
--- a/patch-control.sh
+++ b/patch-control.sh
@@ -15,6 +15,7 @@
 # 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
+# DAQ_USER    -> user name on the DAQ Server
 
 function put_lock() {
   touch /tmp/pc.lock
@@ -171,7 +172,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_SERVER} &
+daq.sh ${run_number} ${run_start_time} ${run_duration_seconds} >${daq_driver_log_file} ${DAQ_SERVER} ${DAQ_USER} &
 PROCS=(${PROCS[*]} $!)
 
 # Put notification mark in the system tray
-- 
GitLab