Changeset 1968 in MondoRescue for branches/2.2.6/mondo/src/mondorestore/mondo-rstr-tools.c
- Timestamp:
- May 29, 2008, 7:01:36 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.6/mondo/src/mondorestore/mondo-rstr-tools.c
r1967 r1968 169 169 170 170 extern void kill_anything_like_this(char *str); 171 extern int skip_obdr(void); 171 172 172 173 /** … … 1017 1018 log_msg(2, tmp); 1018 1019 } else if (bkpinfo->backup_media_type == tape 1019 1020 || bkpinfo->backup_media_type == udev) { 1020 1021 if (read_cfg_var(cfg_file, "media-dev", value)) { 1021 1022 fatal_error("Cannot get tape device name from cfg file"); … … 1134 1135 } else { 1135 1136 read_cfg_var(g_mondo_cfg_file, "nfs-server-mount", 1136 1137 bkpinfo->nfs_mount); 1137 1138 read_cfg_var(g_mondo_cfg_file, "nfs-server-path", 1138 1139 bkpinfo->nfs_remote_dir); 1139 1140 log_msg(2, "nfs_mount is %s", bkpinfo->nfs_mount); 1140 1141 log_msg(2, "nfs_remote_dir is %s", bkpinfo->nfs_remote_dir); 1141 1142 } 1142 1143 if (strstr(call_program_and_get_last_line_of_output 1143 1144 /* We need to override values in PXE mode as it's 1144 ("cat /proc/cmdline"), "pxe")) { 1145 /* We need to override values in PXE mode as it's 1145 1146 * already done in start-nfs */ 1146 1147 envtmp1 = getenv("nfsmount"); … … 1187 1188 log_it("command = %s", command); 1188 1189 log_it("res of it = %s", 1189 1190 call_program_and_get_last_line_of_output(command)); 1190 1191 sprintf(iso_mnt, "%s", 1191 1192 call_program_and_get_last_line_of_output(command)); … … 1226 1227 get_cfg_file_from_archive(); 1227 1228 /* 1228 1229 if (media_specified_by_user != cdr && media_specified_by_user == cdrw) 1229 1230 { g_restoring_live_from_cd = FALSE; } 1230 1231 */ … … 2218 2219 malloc_string(command); 2219 2220 2221 if (bkpinfo->use_obdr) { 2222 skip_obdr(); 2223 } 2220 2224 // tar -zxvf- 2221 2225 sprintf(command,
Note:
See TracChangeset
for help on using the changeset viewer.