Changeset 903 in MondoRescue for trunk/mondo/src/common


Ignore:
Timestamp:
Oct 25, 2006, 1:49:52 AM (17 years ago)
Author:
Bruno Cornec
Message:

merge -r862:888 $SVN_M/branches/stable

Location:
trunk/mondo/src/common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/src/common/libmondo-devices.c

    r900 r903  
    15781578            if (bkpinfo->media_device != NULL) {
    15791579                mr_asprintf(&tmp,
    1580                         _("I think I've found your %s burner at SCSI node %s; am I right on the money? Say no if you have an IDE burner and you are running a 2.6 kernel. Instead, specify the IDE burner's /dev address at the next screen."),
     1580                        _("I think I've found your %s burner at SCSI node %s; Is this correct ? (say no if you have an IDE burner and you are running a 2.6 kernel. You will then be prompted for further details."),
    15811581                        bkpinfo->backup_media_string,
    15821582                        bkpinfo->media_device);
  • trunk/mondo/src/common/libmondo-files.c

    r900 r903  
    11091109        log_to_screen("Found bonding device %s; looking for corresponding ethN slave device\n", nfs_dev);
    11101110        mr_asprintf(&command,
    1111                 "ifconfig %s | awk '{print $5}'", nfs_dev);
     1111                "ifconfig %s | awk '{print $5}' | head -n1", nfs_dev);
    11121112        mac_addr = call_program_and_get_last_line_of_output(command);
    11131113        mr_asprintf(&command,
    1114                 "ifconfig | grep -E '%s' | head -n1  | cut -d' ' -f1", mac_addr);
     1114                "ifconfig | grep -E '%s' | grep -v '%s' | head -n1  | cut -d' ' -f1", mac_addr);
    11151115        mr_free(nfs_dev);
    11161116        nfs_dev = call_program_and_get_last_line_of_output(command);
Note: See TracChangeset for help on using the changeset viewer.