From: Daniel Glanzmann Date: Tue, 30 Sep 2008 11:59:06 +0000 (+0200) Subject: run command to copy restore file X-Git-Tag: v2.3-beta4~12^2~14^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dca095e1d5b0be4b767066d6e9efb5196899a586;p=ipfire-2.x.git run command to copy restore file --- 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");