Extend timeout waiting for device to appear
Tweak retry message for claritypull/351/head
parent
3b2b5b8f4e
commit
3c246a9511
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue