Changeset 808 in MondoRescue for trunk/mondo/mondo/mondorestore/mondo-rstr-tools.c
- Timestamp:
- Sep 22, 2006, 11:12:37 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/mondo/mondorestore/mondo-rstr-tools.c
r794 r808 851 851 paranoid_alloc(bkpinfo->prefix, STD_PREFIX); 852 852 } 853 /* We need to override prefix value in PXE mode as it's 854 * already done in start-nfs */ 855 if (strstr(call_program_and_get_last_line_of_output 856 ("cat /proc/cmdline"), "pxe")) { 857 strcpy(bkpinfo->prefix,getenv("imgname")); 858 } 859 853 860 } else if (!strcmp(value, "tape")) { 854 861 bkpinfo->backup_media_type = tape; … … 975 982 log_msg(2, "nfs_remote_dir is %s", bkpinfo->nfs_remote_dir); 976 983 } 984 /* We need to override values in PXE mode as it's 985 * already done in start-nfs */ 986 if (strstr(call_program_and_get_last_line_of_output 987 ("cat /proc/cmdline"), "pxe")) { 988 strcpy(bkpinfo->nfs_mount,getenv("nfsmount")); 989 strcpy(bkpinfo->nfs_remote_dir,getenv("dirimg")); 990 } 977 991 } else if (bkpinfo->backup_media_type == iso) { 978 992 /* Patch by Conor Daly 23-june-2004 … … 1037 1051 } else { 1038 1052 log_msg(1, 1039 "You backed up to disk, then burned some CDs. Naughty monkey!");1053 "You backed up to disk, then burned some CDs."); 1040 1054 } 1041 1055 } … … 2385 2399 2386 2400 assert(wait_for_percentage <= 100); 2387 iamhere(" Help, my boat is sync'ing. (Get it? Urp! Urp!)");2401 iamhere("wait_until_software_raids_are_prepped"); 2388 2402 while (unfinished_mdstat_devices > 0) { 2389 2403 if (parse_mdstat(raidlist, "/dev/")) {
Note:
See TracChangeset
for help on using the changeset viewer.