|
@@ -866,13 +866,15 @@ function parse_args {
|
866
|
866
|
exit 3
|
867
|
867
|
fi
|
868
|
868
|
if [[ $SYSTEM_TYPE != "$VARIANT_MESH" ]]; then
|
869
|
|
- if [ ! $DDNS_USERNAME ]; then
|
870
|
|
- echo $'Please provide the username for your dynamic DNS provider with the --ddnsuser option'
|
871
|
|
- exit 7823
|
872
|
|
- fi
|
873
|
|
- if [ ! $DDNS_PASSWORD ]; then
|
874
|
|
- echo $'Please provide the password for your dynamic DNS provider with the --ddnspass option'
|
875
|
|
- exit 6382
|
|
869
|
+ if [[ $ONION_ONLY == "no" ]]; then
|
|
870
|
+ if [ ! $DDNS_USERNAME ]; then
|
|
871
|
+ echo $'Please provide the username for your dynamic DNS provider with the --ddnsuser option'
|
|
872
|
+ exit 7823
|
|
873
|
+ fi
|
|
874
|
+ if [ ! $DDNS_PASSWORD ]; then
|
|
875
|
+ echo $'Please provide the password for your dynamic DNS provider with the --ddnspass option'
|
|
876
|
+ exit 6382
|
|
877
|
+ fi
|
876
|
878
|
fi
|
877
|
879
|
fi
|
878
|
880
|
if [ ! $SYSTEM_TYPE ]; then
|