comparison loadtools/ltmain.c @ 45:16315ed6401a

init-script logic implemented in fc-xram
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 17 Jun 2013 08:15:30 +0000
parents dacf45e3d20f
children aa62352647f7
comparison
equal deleted inserted replaced
44:5ca0ad4003a0 45:16315ed6401a
53 perform_romload(); 53 perform_romload();
54 putchar('\n'); 54 putchar('\n');
55 if (tpinterf_pass_output(1) < 0) 55 if (tpinterf_pass_output(1) < 0)
56 exit(1); 56 exit(1);
57 putchar('\n'); 57 putchar('\n');
58 if (hw_init_script) { 58 if (hw_init_script[0]) {
59 printf("Executing init script %s\n", hw_init_script); 59 printf("Executing init script %s\n", hw_init_script);
60 loadtool_exec_script(hw_init_script); 60 loadtool_exec_script(hw_init_script);
61 } 61 }
62 for (;;) { 62 for (;;) {
63 if (isatty(0)) { 63 if (isatty(0)) {