From: hadaq Date: Thu, 13 Dec 2012 11:29:12 +0000 (+0000) Subject: RL: Update of user scripts X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=fbe75cc10ef50b69661c60bb39893b98bfa5fda9;p=daqdocu.git RL: Update of user scripts --- diff --git a/trb3/trb3qs_configuration.tex b/trb3/trb3qs_configuration.tex index 56d843d..c662d0f 100644 --- a/trb3/trb3qs_configuration.tex +++ b/trb3/trb3qs_configuration.tex @@ -176,10 +176,10 @@ Listing \ref{lst:trb3user}). On need to adjust only three variables with the name of DAQ host (DNS name), TRB number (DNS name) and ID of TRBnet daemon to run. -\begin{lstlisting}[label=,caption=Adjusting variables for TRBnet] -DAQHOSTNAME=localhost -TRBID=trb033 -TRBNETID=1 +\begin{lstlisting}[label=,caption=~/trb3user/setenv.sh - Adjusting variables for TRBnet] +export DAQHOSTNAME=localhost +export TRBID=trb033 # this is the number labelled on the trb3 +export TRBNETID=1 \end{lstlisting} This script should be called once with command diff --git a/trb3/trb3qs_software.tex b/trb3/trb3qs_software.tex index 2b65256..3f28106 100644 --- a/trb3/trb3qs_software.tex +++ b/trb3/trb3qs_software.tex @@ -71,7 +71,7 @@ $ tar zxvf trb3userscripts.tar.gz To adjust script to his system should edit file \verb+~/trb3user/setenv.sh+ and adjust paths to trb3 software -\begin{lstlisting}[label=,caption=Variables to be adjusted] +\begin{lstlisting}[label=,caption=~/trb3user/setenv.sh - Variables to be adjusted] # normally HOME variable should host proper value #HOME=/home/hadaq # uncomment this line only if you kow what are you doing