Ignore:
Timestamp:
08/21/13 08:16:09 (11 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2
Children:
07e9b0f
Parents:
171831b
Message:

Clean up when the SSH key generation is automatically run, and remind the user if the remote host information changes to save the SSH Key to a USB stick

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/life-preserver/mainUI.cpp

    r96c5e841 r4a54eef  
    239239  } 
    240240  if(CFG.remoteChanged){ 
    241     LPBackend::setupReplication(ds, CFG.remoteHost, CFG.remoteUser, CFG.remotePort, CFG.remoteDataset, CFG.remoteFreq); 
    242     change = true;         
     241    change = true; 
     242    if(CFG.isReplicated){ 
     243      LPBackend::setupReplication(ds, CFG.remoteHost, CFG.remoteUser, CFG.remotePort, CFG.remoteDataset, CFG.remoteFreq); 
     244      QMessageBox::information(this,tr("Reminder"),tr("Don't forget to save your SSH key to a USB stick so that you can restore your system from the remote host later!!")); 
     245    }else{ 
     246      LPBackend::removeReplication(ds); 
     247    } 
    243248  } 
    244249  //Now update the UI if appropriate 
     
    342347      if(wiz.enableReplication){ 
    343348         LPBackend::setupReplication(dataset, wiz.remoteHost, wiz.remoteUser, wiz.remotePort, wiz.remoteDataset, wiz.remoteTime);      
     349         QMessageBox::information(this,tr("Reminder"),tr("Don't forget to save your SSH key to a USB stick so that you can restore your system from the remote host later!!")); 
    344350      } 
    345351    } 
Note: See TracChangeset for help on using the changeset viewer.