From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH] setup: Do not check DNS settings any more Date: Sun, 19 Jan 2020 15:03:34 +0000 Message-ID: <20200119150334.23123-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3818258899599790136==" List-Id: --===============3818258899599790136== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 --- src/setup/networking.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/setup/networking.c b/src/setup/networking.c index 51dc7acb0..97d58f724 100644 --- a/src/setup/networking.c +++ b/src/setup/networking.c @@ -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))) { -- 2.20.1 --===============3818258899599790136==--