Changeset 1916 in MondoRescue for branches/2.2.6/mondo/src/mondorestore
- Timestamp:
- Apr 17, 2008, 1:14:29 AM (17 years ago)
- Location:
- branches/2.2.6/mondo/src/mondorestore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.6/mondo/src/mondorestore/mondo-restore.c
r1913 r1916 926 926 927 927 strcpy(bkpinfo->restore_path, "/"); 928 if (!g_restoring_live_from_cd ) {928 if (!g_restoring_live_from_cd && !g_restoring_live_from_nfs) { 929 929 popup_and_OK 930 930 ("Please insert tape/CD/USB Key, then hit 'OK' to continue."); 931 931 sleep(1); 932 932 } 933 interactively_obtain_media_parameters_from_user(FALSE); 933 if (!g_restoring_live_from_nfs) { 934 interactively_obtain_media_parameters_from_user(FALSE); 935 } 934 936 log_msg(2, "bkpinfo->media_device = %s", bkpinfo->media_device); 935 937 if (!bkpinfo->media_device[0]) { … … 949 951 retval = load_mountlist(mountlist, g_mountlist_fname); 950 952 load_raidtab_into_raidlist(raidlist, RAIDTAB_FNAME); 951 filelist = process_filelist_and_biggielist(); 952 if ( filelist) {953 954 if (!g_restoring_live_from_nfs && (filelist = process_filelist_and_biggielist())) { 953 955 save_filelist(filelist, "/tmp/selected-files.txt"); 954 956 strcpy(old_restpath, bkpinfo->restore_path); … … 964 966 } 965 967 strcpy(bkpinfo->restore_path, old_restpath); 968 } else { 969 retval += restore_everything(NULL); 966 970 } 967 971 if (IS_THIS_A_STREAMING_BACKUP(bkpinfo->backup_media_type)) { … … 3143 3147 g_restoring_live_from_cd = TRUE; 3144 3148 } 3149 if (bkpinfo->backup_media_type == nfs) { 3150 g_restoring_live_from_nfs = TRUE; 3151 } 3145 3152 if (argc == 5 && strcmp(argv[1], "--monitas-live") == 0) { 3146 3153 retval = -
branches/2.2.6/mondo/src/mondorestore/mr-externs.h
r1647 r1916 108 108 extern bool g_text_mode; 109 109 extern bool g_restoring_live_from_cd; 110 extern bool g_restoring_live_from_nfs; 110 111 extern int fput_string_one_char_at_a_time(FILE *, char *); 111 112
Note:
See TracChangeset
for help on using the changeset viewer.