#!/usr/bin/perl

use strict;

my @domhubs=(
	     'sps-ichub-cont01',
	     'sps-ichub-cont02',
	     'sps-ithub-cont01',
	     );

print "Killing testdaq locally\n";
system("stoptestdaq");
foreach my $domhub(@domhubs){
  print "Killing DAQ on hub '$domhub'\n";
  system("ssh $domhub \"~/bin/testdaq_remote_kill\"");
}
	     
