Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 06a1d077 in mainline


Ignore:
Timestamp:
2012-04-17T06:39:33Z (10 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
b1213b0
Parents:
69a93df7
Message:

Start network services automatically.

Location:
uspace
Files:
5 edited

Legend:

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

    r69a93df7 r06a1d077  
    305305        srv_start("/srv/s3c24ts");
    306306       
    307         spawn("/srv/net");
     307        spawn("/srv/ethip");
     308        spawn("/srv/inet");
     309        spawn("/srv/tcp");
     310        spawn("/srv/udp");
    308311       
    309312        spawn("/srv/fb");
  • uspace/srv/net/ethip/ethip.c

    r69a93df7 r06a1d077  
    5151#include "std.h"
    5252
    53 #define NAME "eth"
     53#define NAME "ethip"
    5454
    5555static int ethip_open(iplink_srv_t *srv);
     
    268268        printf(NAME ": HelenOS IP over Ethernet service\n");
    269269
    270         if (log_init(NAME, LVL_DEBUG) != EOK) {
     270        if (log_init(NAME, LVL_WARN) != EOK) {
    271271                printf(NAME ": Failed to initialize logging.\n");
    272272                return 1;
  • uspace/srv/net/inet/inet.c

    r69a93df7 r06a1d077  
    430430        printf(NAME ": HelenOS Internet Protocol service\n");
    431431
    432         if (log_init(NAME, LVL_DEBUG) != EOK) {
     432        if (log_init(NAME, LVL_WARN) != EOK) {
    433433                printf(NAME ": Failed to initialize logging.\n");
    434434                return 1;
  • uspace/srv/net/tcp/tcp.c

    r69a93df7 r06a1d077  
    208208        printf(NAME ": TCP (Transmission Control Protocol) network module\n");
    209209
    210         rc = log_init(NAME, LVL_DEBUG);
     210        rc = log_init(NAME, LVL_WARN);
    211211        if (rc != EOK) {
    212212                printf(NAME ": Failed to initialize log.\n");
  • uspace/srv/net/udp/udp.c

    r69a93df7 r06a1d077  
    7373        printf(NAME ": UDP (User Datagram Protocol) service\n");
    7474
    75         rc = log_init(NAME, LVL_DEBUG);
     75        rc = log_init(NAME, LVL_WARN);
    7676        if (rc != EOK) {
    7777                printf(NAME ": Failed to initialize log.\n");
Note: See TracChangeset for help on using the changeset viewer.