From dca095e1d5b0be4b767066d6e9efb5196899a586 Mon Sep 17 00:00:00 2001 From: Daniel Glanzmann Date: Tue, 30 Sep 2008 13:59:06 +0200 Subject: [PATCH] run command to copy restore file --- src/install+setup/install/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/install+setup/install/main.c b/src/install+setup/install/main.c index d4f31b38b5..6d6d12cf6a 100644 --- a/src/install+setup/install/main.c +++ b/src/install+setup/install/main.c @@ -553,8 +553,9 @@ int main(int argc, char *argv[]) /* Copy restore file from cdrom */ if (unattended && (strlen(restore_file) > 0)) { fprintf(flog, "unattended: Copy restore file\n"); - snprintf(commandstring, STRING_SIZE, + snprintf(commandstring, STRING_SIZE, "cp /cdrom/%s /harddisk/var/ipfire/backup", restore_file); + mysystem(commandstring); } mysystem("umount /cdrom"); -- 2.39.5