X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=initscripts%2Fpl_boot;h=2f57cf50454f8e9bd26b2f4d0d39029084723751;hb=7428db3606354833b77f2ed33d928f7ac804011f;hp=b057701a27ac36fe1742bb31cc5459c9cc1caf25;hpb=5c7527aa84590ea6b852d4cb1e3be0899351387c;p=bootcd.git diff --git a/initscripts/pl_boot b/initscripts/pl_boot index b057701..2f57cf5 100755 --- a/initscripts/pl_boot +++ b/initscripts/pl_boot @@ -83,7 +83,7 @@ while true; do verbose-message "pl_boot: got request to cancel boot, exiting" exit 0 fi - + if [[ $contact_count -ge $ATTEMPTS_BEFORE_BACKUP ]]; then contact_count=0 @@ -114,7 +114,7 @@ while true; do if [[ $contact_count != 0 ]]; then verbose-message "pl_boot: next attempt in 30s, to fetch script from server at $CONNECT_BOOT_SERVER" - /bin/sleep 30 + /bin/sleep 30 fi # June 2015 : using --tlsv1 instead of sslv3 that should be available @@ -189,9 +189,9 @@ while true; do verbose-message "with as much detail as possible." ;; esac - # in any case display as much info as we can (see pl_functions) - verbose-forensics "after curl" - # retry + # in any case display as much info as we can (see pl_functions) + verbose-forensics "after curl" + # retry continue fi elif [ -n "$DISCONNECTED_OPERATION" ]; then @@ -200,7 +200,7 @@ while true; do cp $UNVERIFIED_SCRIPT /tmp/boot-media umount /tmp/boot-media rmdir /tmp/boot-media - fi + fi verbose-message "pl_boot: verifying downloaded script" rm -f $VERIFIED_SCRIPT @@ -217,7 +217,7 @@ while true; do rm -f $UNVERIFIED_SCRIPT chmod +x $VERIFIED_SCRIPT $VERIFIED_SCRIPT - + verbose-message "pl_boot: downloaded script has returned" done