5 my $output = "delay_stats";
15 @run_at = qw!localhost localhost localhost/wlan1!;
16 @run_at = split(/ +/, $ENV{'RUNAT'}) if $ENV{'RUNAT'};
20 foreach $run (@run_at) {
21 ($host, $iface) = split(/\//, $run, 2);
23 push @args, ('ssh', $host) if ($host ne 'localhost');
24 push @args, ('wclient');
25 push @args, ('-I', $iface) if (defined $iface);
27 $output = get_output();
28 $output .= sprintf("-%s%s", $host, defined $iface ? "-$iface":"");
29 if ($outputs{$output}) { $output .= sprintf("-%02d", $i); }
30 $outputs{$output} = 1;
31 push(@args, ('-o', $output));
33 print "running ", join(' ', @args), "\n";
39 foreach $run (@run_at) {