Changeset 1736 in MondoRescue for branches/2.2.5/mondo/src/mondorestore/mondo-restore.c
- Timestamp:
- Oct 30, 2007, 1:45:03 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mondo/src/mondorestore/mondo-restore.c
r1653 r1736 430 430 read_cfg_file_into_bkpinfo(g_mondo_cfg_file); 431 431 iamhere("Done loading config file; resizing ML"); 432 strcpy(tmp, bkpinfo->prefix); 433 if (popup_and_get_string 434 ("Prefix", "Prefix of your ISO images ?", tmp, MAX_STR_LEN / 4)) { 435 strcpy(bkpinfo->prefix, tmp); 436 log_msg(1, "Prefix set to %s",bkpinfo->prefix); 432 if (bkpinfo->backup_media_type != usb) { 433 strcpy(tmp, bkpinfo->prefix); 434 if (popup_and_get_string 435 ("Prefix", "Prefix of your ISO images ?", tmp, MAX_STR_LEN / 4)) { 436 strcpy(bkpinfo->prefix, tmp); 437 log_msg(1, "Prefix set to %s",bkpinfo->prefix); 438 } 437 439 } 438 440 … … 864 866 if (retval) { 865 867 log_to_screen("Errors occurred during the nuke phase."); 866 } else if (strstr(call_program_and_get_last_line_of_output("cat /proc/cmdline"), "RESTORE")) // Bruno's thing 867 { 868 } else if (strstr(call_program_and_get_last_line_of_output("cat /proc/cmdline"), "RESTORE")) { 868 869 log_to_screen 869 870 ("PC was restored successfully. Thank you for using Mondo Rescue."); … … 927 928 if (!g_restoring_live_from_cd) { 928 929 popup_and_OK 929 ("Please insert tape/CD/ boot floppy, then hit 'OK' to continue.");930 ("Please insert tape/CD/USB Key/boot floppy, then hit 'OK' to continue."); 930 931 sleep(1); 931 932 } … … 2658 2659 mvaddstr_and_log_it(g_currentY, 0, "Preparing to read your archives"); 2659 2660 if (IS_THIS_A_STREAMING_BACKUP(bkpinfo->backup_media_type)) { 2660 mount_ cdrom();2661 mount_media(); 2661 2662 mvaddstr_and_log_it(g_currentY++, 0, 2662 2663 "Restoring OS and data from streaming media"); … … 2676 2677 } else { 2677 2678 mvaddstr_and_log_it(g_currentY++, 0, 2678 "Restoring OS and data from CD 2679 mount_ cdrom();2679 "Restoring OS and data from CD/USB "); 2680 mount_media(); 2680 2681 resA = restore_all_tarballs_from_CD(filelist); 2681 2682 resB = restore_all_biggiefiles_from_CD(filelist);
Note:
See TracChangeset
for help on using the changeset viewer.