503 |
break; |
break; |
504 |
case 's': |
case 's': |
505 |
input_mode = ask_silent; |
input_mode = ask_silent; |
506 |
valid_stdin = isatty(0) && isatty(1) && isatty(2); |
valid_stdin = isatty(0); //bbox: && isatty(1) && isatty(2); |
507 |
break; |
break; |
508 |
case 'd': |
case 'd': |
509 |
input_mode = set_default; |
input_mode = set_default; |
536 |
exit(0); |
exit(0); |
537 |
} |
} |
538 |
} |
} |
539 |
name = av[i]; |
name = av[i]; |
540 |
if (!name) { |
if (!name) { |
541 |
printf(_("%s: Kconfig file missing\n"), av[0]); |
printf(_("%s: Kconfig file missing\n"), av[0]); |
542 |
} |
} |
605 |
check_conf(&rootmenu); |
check_conf(&rootmenu); |
606 |
} while (conf_cnt); |
} while (conf_cnt); |
607 |
if (conf_write(NULL)) { |
if (conf_write(NULL)) { |
608 |
fprintf(stderr, _("\n*** Error during writing of the busybox configuration.\n\n")); |
fprintf(stderr, _("\n*** Error during writing of the configuration.\n\n")); |
609 |
return 1; |
return 1; |
610 |
} |
} |
611 |
return 0; |
return 0; |