]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/install+setup/install/main.c
Added whatmask
[people/pmueller/ipfire-2.x.git] / src / install+setup / install / main.c
index e28e05e08cb2263c54bc56073789f60eabe64f63..f988a608bb986a8a9923f44c949cf6e0b17f38f2 100644 (file)
@@ -149,6 +149,7 @@ int main(int argc, char *argv[])
 
        ctr = langtrs[choice];
        strcpy(shortlangname, shortlangnames[choice]);
+       fprintf(flog, "Selected language: %s\n", shortlangname);
 
        mysystem("/bin/setfont lat0-16");
 
@@ -499,6 +500,9 @@ int main(int argc, char *argv[])
                
        /* Save USB controller type to modules.conf */
        write_usb_modules_conf();
+       
+       /* Save language und local settings */
+       write_lang_configs(shortlangname);
 
        /* touch the modules.dep files */
        snprintf(commandstring, STRING_SIZE, 
@@ -530,7 +534,7 @@ int main(int argc, char *argv[])
        replace("/harddisk/etc/fstab", "DEVICE", hdparams.devnode);
 
        /* if we detected SCSI/USB then fixup */
-       mysystem("/bin/probecntrl.sh");
+/*     mysystem("/bin/probecntrl.sh");
        if ((handle = fopen("/tmp/cntrldriver", "r")))
        {
                char *driver;
@@ -547,7 +551,7 @@ int main(int argc, char *argv[])
                        runcommandwithstatus(commandstring, ctr[TR_BUILDING_INITRD]);
                        mysystem("/sbin/chroot /harddisk /bin/mv /boot/grub/scsigrub.conf /boot/grub/grub.conf");
                }
-       }
+       } */
 
        if (raid_disk)
                sprintf(string, "root=%sp3", hdparams.devnode);