]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
change for ht99 setup
authorhades <hades>
Wed, 1 Sep 1999 12:37:15 +0000 (12:37 +0000)
committerhades <hades>
Wed, 1 Sep 1999 12:37:15 +0000 (12:37 +0000)
Get config file from command line

hadaq/hadaq_init.tcl

index d89dd161886f4c9c12d78fd94004a39cf893ea24..cab54c022302ca716cf07767d268a96d38539f69 100644 (file)
@@ -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}