Changeset 15210


Ignore:
Timestamp:
09/16/10 09:24:45 (3 years ago)
Author:
eko
Message:

fix for console init deadlock on micro builds without serial enabled in kernel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/rc/init.c

    r15189 r15210  
    395395         * Basic initialization  
    396396         */ 
     397#ifdef HAVE_MICRO 
     398        if (console_init()) 
     399                noconsole = 1; 
     400#endif 
    397401        cprintf("init lcd\n"); 
    398402        initlcd(); 
     
    403407        start_service("devinit"); //init /dev /proc etc. 
    404408        start_service("sysinit"); 
     409#ifndef HAVE_MICRO 
    405410#ifndef HAVE_LAGUNA 
    406411        if (console_init()) 
    407412#endif 
    408413                noconsole = 1; 
     414#endif  //HAVE_MICRO 
    409415        start_service("drivers"); 
    410416        cprintf("setup signals\n"); 
Note: See TracChangeset for help on using the changeset viewer.