diff --git a/src/freedombone b/src/freedombone index 1e9b70ac..7e2c2535 100755 --- a/src/freedombone +++ b/src/freedombone @@ -866,13 +866,15 @@ function parse_args { exit 3 fi if [[ $SYSTEM_TYPE != "$VARIANT_MESH" ]]; then - if [ ! $DDNS_USERNAME ]; then - echo $'Please provide the username for your dynamic DNS provider with the --ddnsuser option' - exit 7823 - fi - if [ ! $DDNS_PASSWORD ]; then - echo $'Please provide the password for your dynamic DNS provider with the --ddnspass option' - exit 6382 + 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 + fi + if [ ! $DDNS_PASSWORD ]; then + echo $'Please provide the password for your dynamic DNS provider with the --ddnspass option' + exit 6382 + fi fi fi if [ ! $SYSTEM_TYPE ]; then