]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/install+setup/setup/networking.c
Wrote a fetchmail init script.
[people/pmueller/ipfire-2.x.git] / src / install+setup / setup / networking.c
index cb0d38a34892f0535aaf528a31e0a8ab890c965d..9c13717158f44f701d33da5886dbf36a262b7550 100644 (file)
@@ -202,7 +202,9 @@ int oktoleave(void)
                        return 0;
                }
        }
-       if (configtype == 0)
+       
+       strcpy(temp, ""); findkey(kv, "RED_TYPE", temp);
+       if ((configtype == 0) || (strcmp(temp, "STATIC") == 0))
        {
                strcpy(temp, ""); findkey(kv, "DNS1", temp);
                if (!(strlen(temp)))