Changeset 1641eb0 in mainline for uspace


Ignore:
Timestamp:
2009-07-22T19:08:39Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7038f55
Parents:
a5facfb
Message:

Make automatic start of BDDs and mounting of /data optional and disabled by default not to mess with people's hard drivers.

Location:
uspace/app/init
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/init/Makefile

    ra5facfb r1641eb0  
    3535include $(LIBC_PREFIX)/Makefile.toolchain
    3636
     37CFLAGS += -I../../..
    3738LIBS = $(LIBC_PREFIX)/libc.a
    3839
  • uspace/app/init/init.c

    ra5facfb r1641eb0  
    4848#include <string.h>
    4949#include <devmap.h>
     50#include <config.h>
    5051#include "init.h"
    5152
     
    242243         * non-blocking.
    243244         */
     245#ifdef CONFIG_START_BD
    244246        srv_start("/srv/ata_bd");
    245247        srv_start("/srv/gxe_bd");
    246        
     248#endif 
     249#ifdef CONFIG_MOUNT_DATA
    247250        mount_data();
    248        
     251#endif
     252
    249253        getvc("vc0", "/app/bdsh");
    250254        getvc("vc1", "/app/bdsh");
Note: See TracChangeset for help on using the changeset viewer.