|
@@ -449,18 +449,6 @@ function upgrade_inadyn_config {
|
449
|
449
|
read_config_param DEFAULT_DOMAIN_NAME
|
450
|
450
|
|
451
|
451
|
grep "alias " "${INADYN_CONFIG_FILE}" | sed 's| alias ||g' > ~/.inadyn_existing_sites
|
452
|
|
- DDNS_HOSTNAMES=
|
453
|
|
- while read -r host; do
|
454
|
|
- if [ "$DDNS_HOSTNAMES" ]; then
|
455
|
|
- DDNS_HOSTNAMES="$DDNS_HOSTNAMES, $host"
|
456
|
|
- else
|
457
|
|
- DDNS_HOSTNAMES="$host"
|
458
|
|
- fi
|
459
|
|
- done <~/.inadyn_existing_sites
|
460
|
|
-
|
461
|
|
- if [ ! "$DDNS_HOSTNAMES" ]; then
|
462
|
|
- return
|
463
|
|
- fi
|
464
|
452
|
|
465
|
453
|
if [[ "$DDNS_PROVIDER" == "default@freedns.afraid.org" ]]; then
|
466
|
454
|
DDNS_PROVIDER='freedns'
|