Mercurial > hg > beaglert
changeset 514:ce5bb14c21fb prerelease
update_board checks for board active at the beginning. ANY key is good for exiting
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Wed, 22 Jun 2016 12:40:28 +0100 |
parents | 485913c58a61 |
children | 03b511d99f3d |
files | scripts/update_board |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/update_board Wed Jun 22 04:58:17 2016 +0100 +++ b/scripts/update_board Wed Jun 22 12:40:28 2016 +0100 @@ -97,6 +97,7 @@ +check_board_alive # Check if destination folder exists # the StrictHostKeyChecking no should prevent the unkown host prompt ssh -o "StrictHostKeyChecking no" $BBB_ADDRESS stat $BBB_BELA_HOME &>/dev/null && DESTINATION_EMPTY=0 || DESTINATION_EMPTY=1 @@ -209,5 +210,5 @@ [ $ALWAYS_YES -eq 1 ] && printf "\nCore setup complete.\n\n" || { printf '\nSetup complete, press any key to continue . . .\n\n' - read + read -n 1 }