Ignore:
Timestamp:
Aug 26, 2010 9:28:12 AM (14 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
Children:
6f02be5
Parents:
208797c
Message:

More careful synchronization of reconfigured sshd's

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedkit/prep_gateway.pl

    r208797c r64e774d  
    3737
    3838if ($uname =~ /Linux/) {
    39     # Install bridging software if not present
    40     system('/usr/bin/yum -y install bridge-utils');
    4139    # Restart sshd with tunnel params
    4240    gateway_lib::set_sshd_params(
     
    4543    gateway_lib::import_key($ssh_pubkey,'/root/.ssh/authorized_keys')
    4644        if $ssh_pubkey;
     45    # Install bridging software if not present
     46    system('/usr/bin/yum -y install bridge-utils');
    4747}
    4848elsif ($uname =~ /FreeBSD/ ){
     
    7171        if $peer && $router;
    7272}
     73my $coord_fn = "$fed_dir/etc/prep_done";
     74my $coord_file = new IO::File(">$coord_fn") || die "Cannot open $coord_fn";
     75
     76print $coord_file `date`;
     77$coord_file->close();
    7378
    7479exit(0);
Note: See TracChangeset for help on using the changeset viewer.