Changeset 654 in MondoRescue


Ignore:
Timestamp:
Jun 8, 2006, 6:22:48 PM (18 years ago)
Author:
bcornec
Message:

Again a small bug in the PXE/DHCP support part

File:
1 edited

Legend:

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

    r650 r654  
    12891289    fprintf(fout, "done\n");
    12901290    fprintf(fout, "echo \"$ipconf\" | grep -q \"dhcp\"\n");
    1291     fprintf(fout, "if [ $? = 0 ]; then\n");
     1291    fprintf(fout, "if [ $? -eq 0 ]; then\n");
    12921292    fprintf(fout, "    ipdev=`echo $ipconf | cut -d: -f1`\n");
     1293    fprintf(fout, "    echo \"Making DHCP request on $ipdev\"\n");
    12931294    fprintf(fout, "    udhcpc -i $ipdev\n");
    12941295    fprintf(fout, "else\n");
Note: See TracChangeset for help on using the changeset viewer.