No ddns credentials for onion only system

This commit is contained in:
Bob Mottram 2016-01-04 11:55:48 +00:00
parent 42af2d86bf
commit bbbfd9dea0
1 changed files with 9 additions and 7 deletions

View File

@ -866,6 +866,7 @@ function parse_args {
exit 3
fi
if [[ $SYSTEM_TYPE != "$VARIANT_MESH" ]]; then
if [[ $ONION_ONLY == "no" ]]; then
if [ ! $DDNS_USERNAME ]; then
echo $'Please provide the username for your dynamic DNS provider with the --ddnsuser option'
exit 7823
@ -875,6 +876,7 @@ function parse_args {
exit 6382
fi
fi
fi
if [ ! $SYSTEM_TYPE ]; then
SYSTEM_TYPE=$VARIANT_FULL
fi