mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
Installer: set gpl_accepted marker after installation.
This commit is contained in:
@@ -535,6 +535,9 @@ int main(int argc, char *argv[])
|
|||||||
replace("/harddisk/etc/inittab", "#7:2345:respawn:", "7:2345:respawn:");
|
replace("/harddisk/etc/inittab", "#7:2345:respawn:", "7:2345:respawn:");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Set marker that the user has already accepted the gpl */
|
||||||
|
mysystem("/usr/bin/touch /harddisk/var/ipfire/main/gpl_accepted");
|
||||||
|
|
||||||
/* Copy restore file from cdrom */
|
/* Copy restore file from cdrom */
|
||||||
if (unattended && (strlen(restore_file) > 0)) {
|
if (unattended && (strlen(restore_file) > 0)) {
|
||||||
fprintf(flog, "unattended: Copy restore file\n");
|
fprintf(flog, "unattended: Copy restore file\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user