Mercurial > hg > beaglert
comparison 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 |
comparison
equal
deleted
inserted
replaced
526:617da76ae4d9 | 529:f299f4383959 |
---|---|
94 esac | 94 esac |
95 shift | 95 shift |
96 done | 96 done |
97 | 97 |
98 | 98 |
99 | 99 echo $BBB_ADDRESS |
100 check_board_alive | 100 check_board_alive |
101 # Check if destination folder exists | 101 # Check if destination folder exists |
102 # the StrictHostKeyChecking no should prevent the unkown host prompt | 102 # the StrictHostKeyChecking no should prevent the unkown host prompt |
103 ssh -o "StrictHostKeyChecking no" $BBB_ADDRESS [ -d $BBB_BELA_HOME ] && DESTINATION_EMPTY=0 || DESTINATION_EMPTY=1 | 103 ssh $BBB_ADDRESS [ -d $BBB_BELA_HOME ] && DESTINATION_EMPTY=0 || DESTINATION_EMPTY=1 |
104 # Set the date on the board | 104 # Set the date on the board |
105 [ $FULL -eq 1 ] && set_date | 105 [ $FULL -eq 1 ] && set_date |
106 | 106 |
107 if [ $DESTINATION_EMPTY -eq 0 ]; | 107 if [ $DESTINATION_EMPTY -eq 0 ]; |
108 then | 108 then |