]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/install+setup/setup/main.c
Weitere Ă„nderungen am Installer/Setup vorgenommen.
[people/pmueller/ipfire-2.x.git] / src / install+setup / setup / main.c
index f168220e10183055f9a70ef91e19cb1cb044bc59..3bd5bf5b1245dc8a16802348143328c9bd1fea2e 100644 (file)
@@ -21,6 +21,9 @@ char **ctr = NULL;
 
 int automode = 0;
 
+struct  nic  nics[20] = { { "" , "" , "" } };
+struct knic knics[20] = { { "" , "" , "" , "" } };
+
 extern char *en_tr[];
 extern char *de_tr[];
 
@@ -59,6 +62,9 @@ int main(int argc, char *argv[])
 
        fprintf(flog, "Setup program started.\n");
 
+       if (!setlocale(LC_CTYPE,""))
+               fprintf(flog, "Locale not spezified. Check LANG, LC_CTYPE, RC_ALL.");
+
        kv = initkeyvalues();
        if (!(readkeyvalues(kv, CONFIG_ROOT "/main/settings")))
        {
@@ -175,8 +181,8 @@ int main(int argc, char *argv[])
                        goto EXIT;
                if (!(handledomainname()))
                        goto EXIT;
-               if (!(handleisdn()))
-                       goto EXIT;
+//             if (!(handleisdn()))
+//                     goto EXIT;
                if (!(handlenetworking()))
                        goto EXIT;
                if (!(handledhcp()))