Merge pull request #1279 from lasanthaDLPDS/master

improving text arrangement in 'change-ip.sh' script
application-manager-new
Madhawa Perera 7 years ago committed by GitHub
commit a75d03a7da

@ -12,11 +12,11 @@ echo ""
echo ">>> Step 1: Change current IP address of the IoT Core" echo ">>> Step 1: Change current IP address of the IoT Core"
echo "" 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; read val1;
while [[ -z $val1 ]]; do #if $val1 is a zero length String 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; read val1;
done done
@ -170,11 +170,11 @@ echo ">>> Step 2: Change current IP address of the IoT Broker"
echo "-------------------------------------------------------" echo "-------------------------------------------------------"
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; read val3;
while [[ -z $val3 ]]; do #if $val1 is a zero length String 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; read val3;
done done
@ -213,12 +213,12 @@ echo ">>> Step 3: Change current IP address of the IoT Analytics"
echo "-------------------------------------------------------" echo "-------------------------------------------------------"
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)" this will be localhost)"
read val5; read val5;
while [[ -z $val5 ]]; do #if $val1 is a zero length String 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; read val5;
done done

Loading…
Cancel
Save