diff scripts/update_board @ 529:f299f4383959 prerelease

stricthostchecking is added to each check_board_alive
author Giulio Moro <giuliomoro@yahoo.it>
date Thu, 23 Jun 2016 18:19:42 +0100
parents 4656f886175e
children fcf36d293458
line wrap: on
line diff
--- a/scripts/update_board	Thu Jun 23 13:28:06 2016 +0100
+++ b/scripts/update_board	Thu Jun 23 18:19:42 2016 +0100
@@ -96,11 +96,11 @@
 done
 
 
-
+echo $BBB_ADDRESS
 check_board_alive 
 # Check if destination folder exists
 # the StrictHostKeyChecking no should prevent the unkown host prompt
-ssh -o "StrictHostKeyChecking no" $BBB_ADDRESS [ -d $BBB_BELA_HOME ] && DESTINATION_EMPTY=0 || DESTINATION_EMPTY=1
+ssh $BBB_ADDRESS [ -d $BBB_BELA_HOME ] && DESTINATION_EMPTY=0 || DESTINATION_EMPTY=1
 # Set the date on the board
 [ $FULL -eq 1 ] && set_date