Changeset 2329 in MondoRescue for branches/2.2.10/mondo/src/mondorestore/mondo-rstr-tools.c
- Timestamp:
- Aug 18, 2009, 3:20:46 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mondo/src/mondorestore/mondo-rstr-tools.c
r2327 r2329 784 784 } 785 785 786 if (strstr(call_program_and_get_last_line_of_output("cat /proc/cmdline"), "pxe")) {786 if (strstr(call_program_and_get_last_line_of_output("cat " CMDLINE), "pxe")) { 787 787 /* We need to override prefix value in PXE mode as it's 788 788 * already done in start-nfs */ … … 948 948 949 949 tmp = read_cfg_var(g_mondo_cfg_file, "please-dont-eject"); 950 if (tmp || strstr(call_program_and_get_last_line_of_output("cat /proc/cmdline"), "donteject")) {950 if (tmp || strstr(call_program_and_get_last_line_of_output("cat " CMDLINE), "donteject")) { 951 951 bkpinfo->please_dont_eject = TRUE; 952 952 log_msg(2, "Ok, I shan't eject when restoring! Groovy."); … … 977 977 } 978 978 } 979 if (strstr(call_program_and_get_last_line_of_output("cat /proc/cmdline"), "pxe")) {979 if (strstr(call_program_and_get_last_line_of_output("cat " CMDLINE), "pxe")) { 980 980 /* We need to override values in PXE mode as it's 981 981 * already done in start-nfs */
Note:
See TracChangeset
for help on using the changeset viewer.