Changeset 649 in MondoRescue for trunk/mondo/mondo
- Timestamp:
- Jun 8, 2006, 11:31:13 AM (18 years ago)
- Location:
- trunk/mondo/mondo
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/mondo/autorun
-
Property unix-mode
set to
yes
-
Property unix-mode
set to
-
trunk/mondo/mondo/common/libmondo-files.c
r618 r649 1158 1158 fprintf(fout, " echo $i | grep -qi ipconf= && ipconf=`echo $i | cut -d= -f2`\n"); 1159 1159 fprintf(fout, "done\n"); 1160 fprintf(fout, " grep -q \"dhcp\" \"$ipconf\"\n");1160 fprintf(fout, "echo \"$ipconf\" | grep -q \"dhcp\"\n"); 1161 1161 fprintf(fout, "if [ $? = 0 ]; then\n"); 1162 1162 fprintf(fout, " ipdev=`echo $ipconf | cut -d: -f1`\n"); 1163 fprintf(fout, " udhcpc -i $ipdev\n" ,);1163 fprintf(fout, " udhcpc -i $ipdev\n"); 1164 1164 fprintf(fout, "else\n"); 1165 1165 fprintf(fout, " if [ \"$ipconf\" != \"\" ]; then\n"); -
trunk/mondo/mondo/mondoarchive/mondo-cli.c
r618 r649 312 312 if (q != NULL) { 313 313 *q = '\0'; 314 p = q+1 ;315 314 if (stat(p, &buf) != 0) { 316 315 log_msg(1, "ERROR ! %s doesn't exist", p); 317 316 fatal_error("ERROR ! You specified a directory to include which doesn't exist"); 318 317 } 318 p = q+1 ; 319 319 } else { 320 320 if (stat(p, &buf) != 0) { … … 548 548 if (q != NULL) { 549 549 *q = '\0'; 550 p = q+1 ;551 550 if (stat(p, &buf) != 0) { 552 551 log_msg(1, "WARNING ! %s doesn't exist", p); 553 552 } 553 p = q+1 ; 554 554 } else { 555 555 if (stat(p, &buf) != 0) {
Note:
See TracChangeset
for help on using the changeset viewer.