]> jspc29.x-matter.uni-frankfurt.de Git - mvdsensorcontrol.git/commitdiff
adjusted paths
authorJan Michel <j.michel@gsi.de>
Thu, 11 Jul 2013 12:06:45 +0000 (14:06 +0200)
committerJan Michel <j.michel@gsi.de>
Thu, 11 Jul 2013 12:06:45 +0000 (14:06 +0200)
tools/startup.pl

index 276a9741fca36c563f84315b7f31bc2a85355d41..7c6e98c63cd7d3558d50ed27491c6fa2ca15d8f4 100755 (executable)
@@ -128,7 +128,7 @@ sub execute {
   my @o;
   @o = qx($_[0]) unless $dryrun;
   print "Not running> $_[0]\n" if $dryrun;
-  print Dumper @o if $verbose;
+  printreturn(@o) if $verbose;
   }
  
 
@@ -140,6 +140,14 @@ sub sensorini {
     system($cmd);
     }
   }
+  
+  
+sub printreturn {
+  foreach my $l (@_) {
+    chomp $l;
+    print $l."\n";
+    }
+  }
 
 ###############################
 ## Fill information to template ini files
@@ -148,7 +156,7 @@ sub proto_boardsini {
   my ($name,$id,$addr) = @_;
   $r = qq%
 [$name]
-chainsini=chains_board$id.ini
+chainsini=chains.ini
 FPGAtrbnetAddr=0x$addr
 CONFwaitstart_trbnetAddr=0xb007
 CONFtriginitseq_trbnetAddr=0xb003