Commits

Jon Langevin committed b45f4f6

Tweaks to script output

  • Participants
  • Parent commits 0cc1dda

Comments (0)

Files changed (1)

File generate_vhost

 	exit 1;
 fi
 
-echo "\nYou typed: $VHOST \n"
+echo "You typed: $VHOST"
 
 IP=`ifconfig | grep 'inet addr:'| grep -v ':127.*' | grep -v ':192.*' | grep -v ':10.*' | cut -d: -f2 | awk '{ print $1}'`;
 
-echo -e "Specify the vhost IP from the list of available Public IPs:\n$IP"
+echo "Specify the vhost IP from the list of available Public IPs:"
+echo -e "$IP"
+
 read VHOSTIP
 
 if [ "$VHOSTIP" = "" ] ; then
         exit 1;
 fi
 
-echo "\nYou typed: $VHOSTIP \n"
+echo "You typed: $VHOSTIP"
 
 VHOSTPATH="$VHOSTDIR/$VHOST"
 sudo -u www-data cp -Rf "$VHOSTSKEL/" "$VHOSTPATH"