mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
installer: fix firstsetup and set ext4 fs for unattend.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user