|
@@ -139,6 +139,9 @@ function add_ddns_domain {
|
139
|
139
|
if [[ $ONION_ONLY != "no" ]]; then
|
140
|
140
|
return
|
141
|
141
|
fi
|
|
142
|
+ if [[ "$DDNS_PROVIDER" == 'none' ]]; then
|
|
143
|
+ return
|
|
144
|
+ fi
|
142
|
145
|
if [ ! -f /etc/inadyn.conf ]; then
|
143
|
146
|
echo $'Unable to find inadyn configuration file /etc/inadyn.conf'
|
144
|
147
|
exit 5745
|
|
@@ -173,6 +176,9 @@ function remove_ddns_domain {
|
173
|
176
|
if [[ $ONION_ONLY != "no" ]]; then
|
174
|
177
|
return
|
175
|
178
|
fi
|
|
179
|
+ if [[ "$DDNS_PROVIDER" == 'none' ]]; then
|
|
180
|
+ return
|
|
181
|
+ fi
|
176
|
182
|
if [ ! -f /etc/inadyn.conf ]; then
|
177
|
183
|
echo $'Unable to find inadyn configuration file /etc/inadyn.conf'
|
178
|
184
|
exit 5745
|