Changeset 0805dd4


Ignore:
Timestamp:
Sep 26, 2013 10:46:20 PM (7 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1
Children:
fb7eaa9
Parents:
3388c59
Message:

Don't exit immediately after setting up keys

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/life-preserver/scripts/setup-ssh-keys.sh

    r9342ea0 r0805dd4  
    2828then 
    2929echo "ERROR: Failed creating .ssh/id_rsa.pub" 
    30   sleep 5 
     30  read tmp 
    3131  exit 150 
    3232fi 
     
    3939echo $PUBKEY | ssh -p $SSHPORT $SSHUSER@$SSHHOST 'mkdir .ssh ; chmod 700 .ssh ; tee -a .ssh/authorized_keys2 ; chmod 644 .ssh/authorized_keys2' 
    4040 
     41if [ "$?" != "0" ]; then 
     42  touch /tmp/.failedPreserver-${SSHUSER} 
     43fi 
    4144 
    42 if [ "$?" != "0" ] 
    43 then 
    44 touch /tmp/.failedPreserver-${SSHUSER} 
    45 fi 
     45echo "Press ENTER to continue" 
     46read tmp 
Note: See TracChangeset for help on using the changeset viewer.