From eb8f99e15f702399834baa399f17b29072663adf Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 23 Sep 2014 15:15:57 +0100 Subject: [PATCH] carriage return --- install-freedombone.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install-freedombone.sh b/install-freedombone.sh index 18603c82..86c42419 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -93,22 +93,24 @@ fi function argument_checks { SYNTAX='./install-freedombone.sh [domain] [username] [subdomain code]' - echo '' if [ ! -d /home/$MY_USERNAME ]; then echo "There is no user '$MY_USERNAME' on the system. Use 'adduser $MY_USERNAME' to create the user." exit 1 fi if [ ! $DOMAIN_NAME ]; then + echo '' echo $SYNTAX echo 'Please specify your domain name' exit 2 fi if [ ! $MY_USERNAME ]; then + echo '' echo $SYNTAX echo 'Please specify your username' exit 3 fi if [ ! $FREEDNS_SUBDOMAIN_CODE ]; then + echo '' echo $SYNTAX echo 'Please specify the freedns subdomain code. To find it from ' echo "https://freedns.afraid.org select 'Dynamic DNS', then 'quick "