From 9d7e1c526302d896ca3171c0af8f7c35ac9687e1 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 13 May 2018 21:41:23 +0100 Subject: [PATCH] Tidying --- src/freedombone-utils-web | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/freedombone-utils-web b/src/freedombone-utils-web index c4625832..76080651 100755 --- a/src/freedombone-utils-web +++ b/src/freedombone-utils-web @@ -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'