Changeset 879 in MondoRescue
- Timestamp:
- Oct 7, 2006, 11:16:48 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/mondo/common/libmondo-files.c
r816 r879 1288 1288 strcpy(mac_addr, call_program_and_get_last_line_of_output(command)); 1289 1289 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 ); 1291 1291 strcpy(nfs_dev, call_program_and_get_last_line_of_output(command)); 1292 1292 log_to_screen("Replacing it with %s\n", nfs_dev);
Note:
See TracChangeset
for help on using the changeset viewer.