Changes in uspace/app/init/init.c [232cd4f:a05f2af] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/init/init.c

    r232cd4f ra05f2af  
    369369#ifdef CONFIG_START_BD
    370370        srv_start("/srv/ata_bd");
     371        srv_start("/srv/gxe_bd");
    371372#endif
    372373       
     
    391392                rc = console(HID_INPUT, HID_OUTPUT);
    392393                if (rc == EOK) {
    393                         getterm("term/vc0", "/app/bdsh", true);
    394                         getterm("term/vc1", "/app/bdsh", false);
    395                         getterm("term/vc2", "/app/bdsh", false);
    396                         getterm("term/vc3", "/app/bdsh", false);
    397                         getterm("term/vc4", "/app/bdsh", false);
    398                         getterm("term/vc5", "/app/bdsh", false);
     394#ifndef CONFIG_VC_COUNT
     395#define CONFIG_VC_COUNT 6
     396#endif
     397                        switch((unsigned)CONFIG_VC_COUNT) {
     398                        default:
     399                        case 6: getterm("term/vc5", "/app/bdsh", false);
     400                        case 5: getterm("term/vc4", "/app/bdsh", false);
     401                        case 4: getterm("term/vc3", "/app/bdsh", false);
     402                        case 3: getterm("term/vc2", "/app/bdsh", false);
     403                        case 2: getterm("term/vc1", "/app/bdsh", false);
     404                        case 1: getterm("term/vc0", "/app/bdsh", true);
     405                        }
     406#ifdef CONFIG_KERNEL_LOG_VC_6
    399407                        getterm("term/vc6", "/app/klog", false);
     408#endif
    400409                }
    401410        }
     411        srv_start("/srv/hound");
    402412       
    403413        return 0;
Note: See TracChangeset for help on using the changeset viewer.