Installer: set gpl_accepted marker after installation.

This commit is contained in:
Arne Fitzenreiter
2010-12-04 18:17:58 +01:00
parent 8bb35e212c
commit dfa59dbd1f

View File

@@ -535,6 +535,9 @@ int main(int argc, char *argv[])
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 */
if (unattended && (strlen(restore_file) > 0)) {
fprintf(flog, "unattended: Copy restore file\n");