installer: fix firstsetup and set ext4 fs for unattend.

This commit is contained in:
Arne Fitzenreiter
2013-02-15 07:41:50 +01:00
parent 3b1dbfba60
commit 2e8b71ca69

View 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 {