Changeset 890 in MondoRescue for branches/2.2.0/mondo
- Timestamp:
- Oct 10, 2006, 10:34:13 AM (17 years ago)
- Location:
- branches/2.2.0/mondo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.0/mondo/distributions/rpm/mondo.spec
r825 r890 19 19 ExcludeArch: ppc 20 20 OBS 21 Requires: mindi >= 1. 0.9, bzip2 >= 0.9, afio, mkisofs, binutils, newt >= 0.50, DDD21 Requires: mindi >= 1.2.0, bzip2 >= 0.9, afio, mkisofs, binutils, newt >= 0.50, DDD 22 22 %ifarch ia64 23 23 Requires: elilo, parted -
branches/2.2.0/mondo/mondo/common/libmondo-files.c
r879 r890 1285 1285 log_to_screen("Found bonding device %s; looking for corresponding ethN slave device\n", nfs_dev); 1286 1286 sprintf(command, 1287 "ifconfig %s | awk '{print $5}' ", nfs_dev);1287 "ifconfig %s | awk '{print $5}' | head -n1", nfs_dev); 1288 1288 strcpy(mac_addr, call_program_and_get_last_line_of_output(command)); 1289 1289 sprintf(command, 1290 "ifconfig | grep -E '%s' | grep -v '%s' | head -n1 | cut -d' ' -f1", mac_addr,nfs_dev 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.