- Timestamp:
- Feb 23, 2010 7:53:59 AM (15 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
- Children:
- 1102368
- Parents:
- db64553
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedkit/federate.pl
rdb64553 rdbc9144 13 13 14 14 my $TMCC = "/usr/local/etc/emulab/tmcc"; 15 my $RC_ROUTE = "/usr/local/etc/emulab/rc/rc.route"; 15 16 my $tmcc_p = new IO::Pipe() || die "Can't open pipe: $!\n"; 16 17 my $shared_config_dir; … … 79 80 copy("/tmp/hosts", "/etc/hosts"); 80 81 82 # Ick. at least one of our images has gated in the wrong place (sigh). If 83 # so, fix it and restart routing. 84 if (!-x "/usr/sbin/gated" && -x "/sbin/gated" ) { 85 print "Linking to /sbin/gated and starting routing\n"; 86 symlink("/sbin/gated", "/usr/sbin/gated"); 87 system("$RC_ROUTE boot") if -x $RC_ROUTE; 88 } 89 81 90 # If there are tunnelip interfaces to bring up, bring 'em 82 91 system("$perl -I/usr/local/federation/lib " .
Note: See TracChangeset
for help on using the changeset viewer.