From 3c246a9511f063b491a89109ef9861a742d8812e Mon Sep 17 00:00:00 2001 From: Colin Kuebler Date: Sat, 26 Oct 2019 14:07:30 -0400 Subject: [PATCH] Extend timeout waiting for device to appear Tweak retry message for clarity --- start_flash.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start_flash.sh b/start_flash.sh index 3b3c0d5..81459ea 100755 --- a/start_flash.sh +++ b/start_flash.sh @@ -73,7 +73,7 @@ echo "Starting smart config pairing procedure" echo "Waiting for the device to install the intermediate firmware" -i=60 +i=120 while ! ping -c 1 -W 1 -n 10.42.42.42 &> /dev/null; do printf . if (( --i == 0 )); then @@ -81,7 +81,7 @@ while ! ping -c 1 -W 1 -n 10.42.42.42 &> /dev/null; do echo "Device did not appear with the intermediate firmware" echo "Check the *.log files in the scripts folder" pkill -f smartconfig/main.py && echo "Stopping smart config" - read -p "Do you want to flash another device? [y/N] " -n 1 -r + read -p "Do you want to try flashing another device? [y/N] " -n 1 -r echo continue 2 fi