+ /* restore backup */
+ if (strlen(restore_file) > 0) {
+ fprintf(flog, "unattended: Restoring Backup\n");
+ snprintf(commandstring, STRING_SIZE,
+ "/usr/sbin/chroot /harddisk /bin/tar -xvzp -f /var/ipfire/backup/%s -C /", restore_file);
+ if (mysystem(commandstring)) {
+ errorbox("unattended: ERROR restoring backup");
+ }
+ }
+