- Timestamp:
- Feb 1, 2013 1:25:11 PM (12 years ago)
- Branches:
- master
- Children:
- 328e93f
- Parents:
- 5bd8f1b
- Location:
- fedkit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
fedkit/Makefile
r5bd8f1b r9a52a80 3 3 config_from_tunnelip.pl active_config.pl combo.pl \ 4 4 prep_gateway.pl port_forward.pl setup_bridge.pl import_key.pl \ 5 gated_routing.pl start_seer.pl ospf_routing.pl quagga_routing.pl 5 gated_routing.pl start_seer.pl ospf_routing.pl quagga_routing.pl \ 6 static_routing.pl 6 7 7 8 LIBRARIES=gateway_lib.pm -
fedkit/federate.pl
r5bd8f1b r9a52a80 88 88 89 89 foreach my $fn ("seer.conf", "client.conf", "userconf", "hosts", 90 "ca.pem", "node.pem" ) {90 "ca.pem", "node.pem", "route.tgz") { 91 91 copy("$shared_config_dir/$fn", $local_config_dir ) 92 92 if -e "$shared_config_dir/$fn"; 93 93 } 94 # If there are static routes, unpack them 95 system("tar -C $local_config_dir -xzf $local_config_dir/route.tgz") 96 if -e "$local_config_dir/route.tgz"; 94 97 95 98 # Copy seer authorization files into the location that standard SEER … … 169 172 170 173 if ($uname =~ /Linux/ ) { 171 system("$perl /usr/local/federation/bin/gated_routing.pl") 172 if -r "/usr/local/federation/bin/gated_routing.pl"; 174 system("$perl /usr/local/federation/bin/static_routing.pl") 175 if -r "/usr/local/federation/bin/static_routing.pl"; 176 if ($?) { 177 system("$perl /usr/local/federation/bin/gated_routing.pl") 178 if -r "/usr/local/federation/bin/gated_routing.pl"; 179 } 173 180 if ($?) { 174 181 system("$perl /usr/local/federation/bin/quagga_routing.pl") … … 177 184 } 178 185 elsif ($uname =~/FreeBSD/ ) { 179 # FreeBSD needs to have ospfs installed and a router config created and 180 # run. 181 system("$perl /usr/local/federation/bin/ospf_routing.pl") 182 if -r "/usr/local/federation/bin/ospf_routing.pl"; 186 system("$perl /usr/local/federation/bin/static_routing.pl") 187 if -r "/usr/local/federation/bin/static_routing.pl"; 188 if ($?) { 189 # FreeBSD needs to have ospfs installed and a router config created and 190 # run. 191 system("$perl /usr/local/federation/bin/ospf_routing.pl") 192 if -r "/usr/local/federation/bin/ospf_routing.pl"; 193 } 183 194 } 184 195
Note: See TracChangeset
for help on using the changeset viewer.