Changeset 653


Ignore:
Timestamp:
Jun 8, 2006, 6:21:24 PM (13 years ago)
Author:
bcornec
Message:

Again a small bug in the PXE/DHCP support part

File:
1 edited

Legend:

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

    r622 r653  
    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.