Changeset 903 in MondoRescue for trunk/mondo/src/common
- Timestamp:
- Oct 25, 2006, 1:49:52 AM (17 years ago)
- Location:
- trunk/mondo/src/common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/src/common/libmondo-devices.c
r900 r903 1578 1578 if (bkpinfo->media_device != NULL) { 1579 1579 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."), 1581 1581 bkpinfo->backup_media_string, 1582 1582 bkpinfo->media_device); -
trunk/mondo/src/common/libmondo-files.c
r900 r903 1109 1109 log_to_screen("Found bonding device %s; looking for corresponding ethN slave device\n", nfs_dev); 1110 1110 mr_asprintf(&command, 1111 "ifconfig %s | awk '{print $5}' ", nfs_dev);1111 "ifconfig %s | awk '{print $5}' | head -n1", nfs_dev); 1112 1112 mac_addr = call_program_and_get_last_line_of_output(command); 1113 1113 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); 1115 1115 mr_free(nfs_dev); 1116 1116 nfs_dev = call_program_and_get_last_line_of_output(command);
Note:
See TracChangeset
for help on using the changeset viewer.