From 20a7f5685fc03a08acff150d705e7e44ff8123a1 Mon Sep 17 00:00:00 2001 From: lasantha Date: Tue, 8 Aug 2017 12:17:53 +0530 Subject: [PATCH] improving text arrangement in 'change-ip.sh' script --- modules/scripts/change-ip.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/scripts/change-ip.sh b/modules/scripts/change-ip.sh index 49cbd183..c829a6a1 100644 --- a/modules/scripts/change-ip.sh +++ b/modules/scripts/change-ip.sh @@ -12,11 +12,11 @@ echo "" echo ">>> Step 1: Change current IP address of the IoT Core" echo "" -echo "Please enter the IoT Core IP that you need to replace (if you are trying out IoTS server for the first time this will be localhost)" +echo "Please enter the IoT Core IP that you need to replace (if you are trying out IoT server for the first time this will be localhost)" read val1; while [[ -z $val1 ]]; do #if $val1 is a zero length String - echo "Please enter the IoT Core IP that you need to replace (if you are trying out IoTS server for the first time this will be localhost)" + echo "Please enter the IoT Core IP that you need to replace (if you are trying out IoT server for the first time this will be localhost)" read val1; done @@ -170,11 +170,11 @@ echo ">>> Step 2: Change current IP address of the IoT Broker" echo "-------------------------------------------------------" echo "" -echo "Please enter the IoT Broker IP that you need to replace (if you are trying out IoTS server for the first time this will be localhost)" +echo "Please enter the IoT Broker IP that you need to replace (if you are trying out IoT server for the first time this will be localhost)" read val3; while [[ -z $val3 ]]; do #if $val1 is a zero length String - echo "Please enter the IoT Broker IP that you need to replace (if you are trying out IoTS server for the first time this will be localhost)" + echo "Please enter the IoT Broker IP that you need to replace (if you are trying out IoT server for the first time this will be localhost)" read val3; done @@ -213,12 +213,12 @@ echo ">>> Step 3: Change current IP address of the IoT Analytics" echo "-------------------------------------------------------" echo "" -echo "Please enter the IoT Analytics IP that you need to replace (if you are trying out IoTS server for the first time +echo "Please enter the IoT Analytics IP that you need to replace (if you are trying out IoT server for the first time this will be localhost)" read val5; while [[ -z $val5 ]]; do #if $val1 is a zero length String - echo "Please enter the IoT Analytics IP that you need to replace (if you are trying out IoTS server for the first time this will be localhost)" + echo "Please enter the IoT Analytics IP that you need to replace (if you are trying out IoT server for the first time this will be localhost)" read val5; done