rephrase 'pl_boot: attempting to fetch script from <> server in 30s'
Thierry Parmentelat [Thu, 5 Apr 2012 13:07:30 +0000 (15:07 +0200)]
to show actual server name

initscripts/pl_boot

index ce685c9..931af20 100755 (executable)
@@ -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