diff --git a/patch-control.sh b/patch-control.sh index 3a0e05f6878c8f0ca153c4e441cf86553851b758..0ce98dba8cf7aaad8a3fc18e390e169b01f81d49 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