From: hades Date: Wed, 1 Sep 1999 12:37:15 +0000 (+0000) Subject: change for ht99 setup X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=cd0d487cebaaf835d806cda273938e41db79a733;p=daqdata.git change for ht99 setup Get config file from command line --- diff --git a/hadaq/hadaq_init.tcl b/hadaq/hadaq_init.tcl index d89dd16..cab54c0 100644 --- a/hadaq/hadaq_init.tcl +++ b/hadaq/hadaq_init.tcl @@ -1,14 +1,14 @@ -#!/usr/local/bin/tclsh -f +#!/usr/bin/tclsh -f source cmds.tcl -source ht98.tcl +source [lindex $argv 1] foreach i [agent cat] { set host [agent list $i host] - set user muench - set dir hadaq/hadaq-0.5 + set user root + set dir /home/hades/ht99/daq/hadaq puts $host - if {[string match "gast8" $host] || [string match "gast7" $host]} { + if {[string match "hades19" $host]} { set psCmd {ps -ax | awk '{ print $1, $NF }'} } else { set psCmd {export UNIX95=XPG4; ps -e -o pid -o comm}