]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/install+setup/setup/networking.c
Vorbelegung GrĂ¼n+Rot funktioniert jetzt.
[people/pmueller/ipfire-2.x.git] / src / install+setup / setup / networking.c
index 39b08c79fa101a6eb50100a2f32f78c29f84aee3..57bf246be03dd5a625246682f6b981062a2f1690 100644 (file)
@@ -334,9 +334,15 @@ int drivermenu(void)
                return 0;
        }
 
-       findkey(kv, "CONFIG_TYPE", temp);
-       configtype = atol(temp);
-       
+       if (findkey(kv, "CONFIG_TYPE", temp))
+               configtype = atol(temp);
+       else {
+               fprintf(flog,"setting CONFIG_TYPE = %s\n",temp);
+               configtype = atol(temp);
+               replacekeyvalue(kv, "CONFIG_TYPE", temp);
+               writekeyvalues(kv, CONFIG_ROOT "/ethernet/settings");
+       }
+
        strcpy(message, ctr[TR_CONFIGURE_NETWORK_DRIVERS]);
 
        kcount = 0;