Bob Mottram 6 lat temu
rodzic
commit
9d7e1c5263
1 zmienionych plików z 0 dodań i 12 usunięć
  1. 0
    12
      src/freedombone-utils-web

+ 0
- 12
src/freedombone-utils-web Wyświetl plik

@@ -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'