Ignore:
Timestamp:
Jan 27, 2011, 7:31:24 PM (13 years ago)
Author:
Bruno Cornec
Message:

r4180@localhost: bruno | 2011-01-27 10:26:41 +0100

  • Fix multiple port issues from 2.2.9 that prevented mindi to work
  • Change interface of call_program_and_get_last_line_of_output to allow not logging (call to mindi)
  • Status is working boot, but NFS interface broken due to conf file issues
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mondo/src/mondorestore/mondo-rstr-tools.c

    r2696 r2704  
    719719        mr_free(value);
    720720   
    721         tmp = call_program_and_get_last_line_of_output("cat " CMDLINE);
     721        tmp = call_program_and_get_last_line_of_output("cat " CMDLINE,TRUE);
    722722        if (strstr(tmp, "pxe")) {
    723723            /* We need to override prefix value in PXE mode as it's
     
    904904
    905905tmp = read_cfg_var(MINDI_CACHE"/mondorestore.cfg", "please-dont-eject");
    906 tmp1 = call_program_and_get_last_line_of_output("cat " CMDLINE);
     906tmp1 = call_program_and_get_last_line_of_output("cat " CMDLINE,TRUE);
    907907if (tmp || strstr(tmp1, "donteject")) {
    908908    bkpinfo->please_dont_eject = TRUE;
     
    938938        }
    939939    }
    940     tmp1 = call_program_and_get_last_line_of_output("cat " CMDLINE);
     940    tmp1 = call_program_and_get_last_line_of_output("cat " CMDLINE,TRUE);
    941941    if (strstr(tmp1, "pxe")) {
    942942        mr_free(tmp1);
     
    997997            mr_asprintf(command, "mount | grep -E '^%s' | tail -n1 | cut -d' ' -f3", g_isodir_device);
    998998            log_it("command = %s", command);
    999             iso_mnt = call_program_and_get_last_line_of_output(command);
     999            iso_mnt = call_program_and_get_last_line_of_output(command,TRUE);
    10001000            log_it("res of it = %s", iso_mnt);
    10011001            mr_free(command);
Note: See TracChangeset for help on using the changeset viewer.