This commit is contained in:
Bob Mottram 2018-05-13 21:41:23 +01:00
parent a9ff261133
commit 9d7e1c5263
1 changed files with 0 additions and 12 deletions

View File

@ -449,18 +449,6 @@ function upgrade_inadyn_config {
read_config_param DEFAULT_DOMAIN_NAME
grep "alias " "${INADYN_CONFIG_FILE}" | sed 's| alias ||g' > ~/.inadyn_existing_sites
DDNS_HOSTNAMES=
while read -r host; do
if [ "$DDNS_HOSTNAMES" ]; then
DDNS_HOSTNAMES="$DDNS_HOSTNAMES, $host"
else
DDNS_HOSTNAMES="$host"
fi
done <~/.inadyn_existing_sites
if [ ! "$DDNS_HOSTNAMES" ]; then
return
fi
if [[ "$DDNS_PROVIDER" == "default@freedns.afraid.org" ]]; then
DDNS_PROVIDER='freedns'