Changeset 879 in MondoRescue


Ignore:
Timestamp:
Oct 7, 2006, 11:16:48 PM (18 years ago)
Author:
Bruno Cornec
Message:

Fix bonding handling this time really (M. Shapiro report)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/mondo/common/libmondo-files.c

    r816 r879  
    12881288        strcpy(mac_addr, call_program_and_get_last_line_of_output(command));
    12891289        sprintf(command,
    1290                 "ifconfig | grep -E '%s' | head -n1  | cut -d' ' -f1", mac_addr);
     1290                "ifconfig | grep -E '%s' | grep -v '%s' | head -n1 | cut -d' ' -f1", mac_addr,nfs_dev );
    12911291        strcpy(nfs_dev, call_program_and_get_last_line_of_output(command));
    12921292        log_to_screen("Replacing it with %s\n", nfs_dev);
Note: See TracChangeset for help on using the changeset viewer.