]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
Universal hostname handling
authorhadeshyp <hadeshyp>
Tue, 16 Oct 2012 20:49:01 +0000 (20:49 +0000)
committerhadeshyp <hadeshyp>
Tue, 16 Oct 2012 20:49:01 +0000 (20:49 +0000)
cts/cts_gui

index 6f2868e410b52c5b12de982aa6050118ab96282d..ffb24319327d9b014d3b26e90762bb59ef5ea774 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/bash
 if [ $2 > 0 ]; then
-#   host='localhost'
-   host='cbmpc011_2'
+   host=`hostname`
+#   host='cbmpc011_2'
    port="1234"
    
    echo "Trying to kill processes 'cts' and 'dhttpi'"