From: Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Date: Thu, 5 Apr 2012 13:07:30 +0000 (+0200)
Subject: rephrase 'pl_boot: attempting to fetch script from <> server in 30s'
X-Git-Tag: bootcd-5.1-1~6
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=5747967919115afba5e39740d6fd3da70e31c30f;p=bootcd.git

rephrase 'pl_boot: attempting to fetch script from <> server in 30s'
to show actual server name
---

diff --git a/initscripts/pl_boot b/initscripts/pl_boot
index ce685c9..931af20 100755
--- a/initscripts/pl_boot
+++ b/initscripts/pl_boot
@@ -107,11 +107,7 @@ while : ; do
 
     if [[ $contact_count != 0 ]]; then
 
-        if [[ $on_backup_server == 1 ]]; then
-            echo $(date "+%H:%M:%S") " pl_boot: attempting to fetch script from backup server in 30s"
-        else
-            echo $(date "+%H:%M:%S") " pl_boot: attempting to fetch script from primary server in 30s"
-        fi
+        echo $(date "+%H:%M:%S") " pl_boot: next attempt in 30s, to fetch script from server at $CONNECT_BOOT_SERVER"
 	/bin/sleep 30
     fi