Ignore:
Timestamp:
Mar 12, 2010 2:37:32 AM (14 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
Children:
7e50f69
Parents:
310d419
Message:

Set up all routing daemons from the fedkit and note interfaces we've added in a way that SEER's federated testbed will grok them.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • fedkit/gated_routing.pl

    r310d419 rdc803a7  
    66
    77my $IFCONFIG = "/sbin/ifconfig";
    8 my $GATED= "/usr/sbin/gated";
     8my @GATEDS= ("/usr/sbin/gated", "/sbin/gated" );
     9my $GATED;
    910
    1011my $fn = "/usr/local/federation/etc/gated.conf";
     
    2122}
    2223$ifp->close();
     24
     25foreach my $g (@GATEDS) {
     26    if (-x $g ) {
     27        $GATED = $g;
     28        last;
     29    }
     30}
     31
     32die "Can't find gated in " . join(",", @GATEDS) . "\n" unless $GATED;
    2333
    2434my $f = new IO::File(">$fn") || die "Can't open $fn: $!\n";
Note: See TracChangeset for help on using the changeset viewer.