carriage return
This commit is contained in:
parent
2d4ca25a85
commit
eb8f99e15f
|
@ -93,22 +93,24 @@ fi
|
||||||
|
|
||||||
function argument_checks {
|
function argument_checks {
|
||||||
SYNTAX='./install-freedombone.sh [domain] [username] [subdomain code]'
|
SYNTAX='./install-freedombone.sh [domain] [username] [subdomain code]'
|
||||||
echo ''
|
|
||||||
if [ ! -d /home/$MY_USERNAME ]; then
|
if [ ! -d /home/$MY_USERNAME ]; then
|
||||||
echo "There is no user '$MY_USERNAME' on the system. Use 'adduser $MY_USERNAME' to create the user."
|
echo "There is no user '$MY_USERNAME' on the system. Use 'adduser $MY_USERNAME' to create the user."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
if [ ! $DOMAIN_NAME ]; then
|
if [ ! $DOMAIN_NAME ]; then
|
||||||
|
echo ''
|
||||||
echo $SYNTAX
|
echo $SYNTAX
|
||||||
echo 'Please specify your domain name'
|
echo 'Please specify your domain name'
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
if [ ! $MY_USERNAME ]; then
|
if [ ! $MY_USERNAME ]; then
|
||||||
|
echo ''
|
||||||
echo $SYNTAX
|
echo $SYNTAX
|
||||||
echo 'Please specify your username'
|
echo 'Please specify your username'
|
||||||
exit 3
|
exit 3
|
||||||
fi
|
fi
|
||||||
if [ ! $FREEDNS_SUBDOMAIN_CODE ]; then
|
if [ ! $FREEDNS_SUBDOMAIN_CODE ]; then
|
||||||
|
echo ''
|
||||||
echo $SYNTAX
|
echo $SYNTAX
|
||||||
echo 'Please specify the freedns subdomain code. To find it from '
|
echo 'Please specify the freedns subdomain code. To find it from '
|
||||||
echo "https://freedns.afraid.org select 'Dynamic DNS', then 'quick "
|
echo "https://freedns.afraid.org select 'Dynamic DNS', then 'quick "
|
||||||
|
|
Loading…
Reference in New Issue