]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
installer: fix firstsetup and set ext4 fs for unattend.
authorArne Fitzenreiter <arne_f@ipfire.org>
Fri, 15 Feb 2013 06:41:50 +0000 (07:41 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Fri, 15 Feb 2013 06:41:50 +0000 (07:41 +0100)
src/install+setup/install/main.c

index 14139b5c910c30576645d56597cede3b916fce6c..bf0a356e10271f61d2edd24f423fff14b28b142a 100644 (file)
@@ -277,7 +277,7 @@ int main(int argc, char *argv[])
                        ctr[TR_CANCEL], NULL);
        } else {
            rc = 1;
-           fstype = EXT3;
+           fstype = EXT4;
        }
        if (rc == 2)
                goto EXIT;
@@ -596,12 +596,6 @@ EXIT:
                fclose(flog);
                newtFinished();
 
-               if (unattended) {
-                       // Remove Setup autorun after boot
-                       if (system("rm -f /harddisk/etc/rc.d/rcsysinit.d/S75firstsetup"))
-                               printf("Unable to disable setup autorun.\n");
-               }
-
                if (system("/bin/umount /harddisk/proc"))
                        printf("Unable to umount /harddisk/proc.\n"); 
        } else {