Ignore:
Timestamp:
Jun 8, 2006, 11:31:13 AM (14 years ago)
Author:
bcornec
Message:

merge -r617:641 $SVN_M/branches/stable

File:
1 edited

Legend:

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

    r618 r649  
    11581158    fprintf(fout, "    echo $i | grep -qi ipconf= && ipconf=`echo $i | cut -d= -f2`\n");
    11591159    fprintf(fout, "done\n");
    1160     fprintf(fout, "grep -q \"dhcp\" \"$ipconf\"\n");
     1160    fprintf(fout, "echo \"$ipconf\" | grep -q \"dhcp\"\n");
    11611161    fprintf(fout, "if [ $? = 0 ]; then\n");
    11621162    fprintf(fout, "    ipdev=`echo $ipconf | cut -d: -f1`\n");
    1163     fprintf(fout, "    udhcpc -i $ipdev\n", );
     1163    fprintf(fout, "    udhcpc -i $ipdev\n");
    11641164    fprintf(fout, "else\n");
    11651165    fprintf(fout, "    if [ \"$ipconf\" != \"\" ]; then\n");
Note: See TracChangeset for help on using the changeset viewer.