Changeset 33103


Ignore:
Timestamp:
Aug 11, 2017, 11:24:34 AM (10 days ago)
Author:
brainslayer
Message:

fix some typos

Location:
src/router
Files:
3 edited

Legend:

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

    r33101 r33103  
    464464
    465465        start_service("post_sysinit");
    466 #ifdef HAVE_SPEEDCHECKER
    467         start_service("speedchecker_init");
    468 #endif
    469466
    470467        /*
     
    522519                         */
    523520                case START:
    524                         set_tcp_params();
    525                         lcdmessage("START SERVICES");
    526                         nvram_set("wl0_lazy_wds", nvram_safe_get("wl_lazy_wds"));
    527521                        cprintf("START\n");
    528522                        setenv("PATH", "/sbin:/bin:/usr/sbin:/usr/bin:/jffs/sbin:/jffs/bin:/jffs/usr/sbin:/jffs/usr/bin:/mmc/sbin:/mmc/bin:/mmc/usr/sbin:/mmc/usr/sbin:/opt/sbin:/opt/bin:/opt/usr/sbin:/opt/usr/sbin", 1);
  • src/router/services/include/services.h

    r33098 r33103  
    274274void start_emf(void);
    275275void stop_emf(void);
     276
     277void start_nvram(void);
     278void start_restore_defaults(void);
     279void start_conntrack(void);
     280void start_jffs2(void);
     281
     282void start_speedchecker_init(void);
  • src/router/services/sysinit/init.c

    r33102 r33103  
    2727#include <wlutils.h>
    2828#include <services.h>
     29#include <cyutils.h>
     30#include <revision.h>
    2931#include <sys/stat.h>
    3032
     
    4547{
    4648        eval("/etc/preinit");   // sets default values for ip_conntrack
    47         start_service("conntrack");
     49        start_conntrack();
    4850
    4951        FILE *fp = fopen("/proc/sys/net/ipv4/tcp_available_congestion_control", "rb");
     
    120122#ifdef HAVE_MMC
    121123        start_mmc();
     124#endif
     125#ifdef HAVE_SPEEDCHECKER
     126        start_speedchecker_init();
    122127#endif
    123128
     
    309314void start_init_start(void)
    310315{
     316                        set_tcp_params();
     317                        lcdmessage("START SERVICES");
     318                        nvram_set("wl0_lazy_wds", nvram_safe_get("wl_lazy_wds"));
     319
    311320#ifdef HAVE_IPV6
    312321        start_ipv6();
Note: See TracChangeset for help on using the changeset viewer.