mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-12 12:15:52 +02:00
Merge branch 'work'
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user