]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
setup: Do not check DNS settings any more
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 19 Jan 2020 15:03:34 +0000 (15:03 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 19 Jan 2020 15:34:45 +0000 (15:34 +0000)
It has been removed that DNS servers could be configured in
setup, but I forgot to remove a check which leads to new
installations not being able to complete the setup wizard.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
src/setup/networking.c

index 51dc7acb0e7061acca47b8cc3fb7f31a3a1bd86f..97d58f7242eda824ddce94ccc12111cfb311f4bf 100644 (file)
@@ -219,13 +219,6 @@ int oktoleave(void)
        strcpy(temp, ""); findkey(kv, "RED_TYPE", temp);
        if ((configtype == 0) || (strcmp(temp, "STATIC") == 0))
        {
-               strcpy(temp, ""); findkey(kv, "DNS1", temp);
-               if (!(strlen(temp)))
-               {
-                       errorbox(_("Missing DNS."));
-                       freekeyvalues(kv);
-                       return 0;
-               }
                strcpy(temp, ""); findkey(kv, "DEFAULT_GATEWAY", temp);
                if (!(strlen(temp)))
                {