Changeset 12275


Ignore:
Timestamp:
06/10/09 10:39:59 (4 years ago)
Author:
eko
Message:

startup run change

File:
1 edited

Legend:

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

    r12235 r12275  
    643643#endif 
    644644                        { 
    645                                 start_service("create_rc_shutdown"); 
    646                                 system("/tmp/.rc_shutdown"); 
     645                                start_service("run_rc_shutdown"); 
    647646                        } 
    648647                        if (state == STOP) { 
     
    726725                        start_service_f("radio_timer"); 
    727726 
    728                         cprintf("create rc file\n"); 
     727                        cprintf("run rc file\n"); 
    729728#ifdef HAVE_REGISTER 
    730729                        if (isregistered_real()) 
    731730#endif 
    732731                        { 
    733                                 start_service_f("create_rc_startup"); 
    734                                 chmod("/tmp/.rc_startup", 0700); 
    735                                 system("/tmp/.rc_startup"); 
     732                                start_service_f("run_rc_startup"); 
    736733                                system("/etc/init.d/rcS");      // start openwrt 
    737734                                // startup script 
Note: See TracChangeset for help on using the changeset viewer.