From 42d6497cab6d8403af6c9321bf00de9fb31dfe5b Mon Sep 17 00:00:00 2001 From: Chris Sharp Date: Fri, 8 Aug 2014 16:32:45 -0400 Subject: [PATCH] updating with latest changes. --- update-libips.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/update-libips.sh b/update-libips.sh index 9b6acf2..8d163b6 100755 --- a/update-libips.sh +++ b/update-libips.sh @@ -52,7 +52,7 @@ read -p "Please enter the start IP of the range (if a single IP, just enter that read -p "Please enter the end IP of the range (if a single IP, just enter that again): " END_IP echo echo "The new line will be:" -echo -e "$NEW_SHORTNAME\t $START_IP $END_IP" +echo -e "$NEW_SHORTNAME\t$START_IP\t$END_IP" echo read -p "Is this correct? (y/n) " ANSWER if [ "$ANSWER" = "y" ]; then @@ -82,8 +82,6 @@ echo "You will need to restart Apache on all brick heads for the changes to take } EditCopy () { -echo "Backing up the original file..." -cp $LIB_IPS_TXT $LIB_IPS_TXT.`date +%Y%m%d%H%M%S` $EDITOR $LIB_IPS_TXT read -p "Would you like to copy the file to the other brick heads? (y/n) " COPYFILE if [ "$COPYFILE" = "y" ]; then -- 2.11.0