From dfa59dbd1f12f3427c51215e76b4a825f8a169fc Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sat, 4 Dec 2010 18:17:58 +0100 Subject: [PATCH] Installer: set gpl_accepted marker after installation. --- src/install+setup/install/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/install+setup/install/main.c b/src/install+setup/install/main.c index 5b408a728a..d18f16bfa7 100644 --- a/src/install+setup/install/main.c +++ b/src/install+setup/install/main.c @@ -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"); -- 2.39.2