Changeset 80791a7 in mainline for uspace/app/init/init.c


Ignore:
Timestamp:
2008-08-22T11:07:32Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2e4bd1f
Parents:
ab00d5a
Message:

Enable bdsh in most of the architectures, remove cli and simplify init.

File:
1 edited

Legend:

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

    rab00d5a r80791a7  
    9999        info_print();
    100100        sleep(5);       // FIXME
    101         bool has_tmpfs = false;
    102         bool has_fat = false;
    103101       
    104         if (!(has_tmpfs = mount_fs("tmpfs")) && !(has_fat = mount_fs("fat"))) {
     102        if (!mount_fs("tmpfs") && !mount_fs("fat")) {
    105103                printf(NAME ": Exiting\n");
    106104                return -1;
     
    115113        version_print();
    116114       
    117         /*
    118          * Spawn file system servers that were not loaded as init tasks.
    119          */
    120         if (!has_fat)
    121                 spawn("/sbin/fat");
    122         if (!has_tmpfs)
    123                 spawn("/sbin/tmpfs");
    124                
    125         spawn("/sbin/tetris");
    126         spawn("/sbin/cli");
    127         // FIXME: spawn("/sbin/tester");
    128         spawn("/sbin/klog");
    129115        spawn("/sbin/bdsh");
    130116       
Note: See TracChangeset for help on using the changeset viewer.