Changeset 10189


Ignore:
Timestamp:
08/21/08 17:59:21 (5 years ago)
Author:
BrainSlayer
Message:

syslog changes (vice versa)

Location:
src/router
Files:
3 edited

Legend:

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

    r10186 r10189  
    841841#endif 
    842842                cprintf( "start syslog\n" ); 
    843 #ifndef HAVE_SYSLOG 
     843#ifdef HAVE_SYSLOG 
    844844                startstop( "syslog" ); 
    845845#endif 
  • src/router/rc/services.c

    r10186 r10189  
    9595    eval( "/etc/config/proftpd.startup" ); 
    9696#endif 
    97 #ifndef HAVE_SYSLOG 
     97#ifdef HAVE_SYSLOG 
    9898    handle = start_service_nofree( "syslog", handle ); 
    9999#endif 
     
    202202    handle = stop_service_nofree( "tftpd", handle ); 
    203203#endif 
    204 #ifndef HAVE_SYSLOG 
     204#ifdef HAVE_SYSLOG 
    205205    handle = stop_service_nofree( "syslog", handle ); 
    206206#endif 
     
    401401#endif 
    402402    handle = startstop_nofree( "udhcpd", handle ); 
    403 #ifndef HAVE_SYSLOG 
     403#ifdef HAVE_SYSLOG 
    404404    handle = startstop_nofree( "syslog", handle ); 
    405405#endif 
     
    454454    handle = startstop_nofree( "firewall", handle ); 
    455455    handle = startstop_nofree( "wshaper", handle ); 
    456 #ifndef HAVE_SYSLOG 
     456#ifdef HAVE_SYSLOG 
    457457    handle = startstop_nofree( "syslog", handle ); 
    458458#endif 
     
    577577    handle = stop_service_nofree( "cron", handle ); 
    578578    handle = startstop_nofree( "firewall", handle ); 
    579 #ifndef HAVE_SYSLOG 
     579#ifdef HAVE_SYSLOG 
    580580    handle = startstop_nofree( "syslog", handle ); 
    581581#endif 
  • src/router/shared/utils.h

    r10186 r10189  
    671671void rmmod( char *module ); 
    672672 
    673 #ifdef HAVE_SYSLOG 
     673#ifndef HAVE_SYSLOG 
    674674#define dd_syslog(a, args...) do { } while(0); 
    675675#else 
Note: See TracChangeset for help on using the changeset viewer.