Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/scripts/kconfig/conf.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 815 by niro, Sat Sep 1 22:45:15 2007 UTC revision 816 by niro, Fri Apr 24 18:33:46 2009 UTC
# Line 503  int main(int ac, char **av) Line 503  int main(int ac, char **av)
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;
# Line 536  int main(int ac, char **av) Line 536  int main(int ac, char **av)
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   }   }
# Line 605  int main(int ac, char **av) Line 605  int main(int ac, char **av)
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;

Legend:
Removed from v.815  
changed lines
  Added in v.816