Changeset 14937


Ignore:
Timestamp:
2009-03-18T13:20:21+01:00 (7 years ago)
Author:
mb
Message:

Support configurations without syslogd/klogd.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/base-files/files/etc/init.d/boot

    r14396 r14937  
    2121        config_get log_size "$cfg" log_size 
    2222        config_get log_port "$cfg" log_port 
    23         syslogd -C${log_size:-16} ${log_ip:+-L -R $log_ip${log_port:+:$log_port}} 
    24         klogd 
     23        [ -x /sbin/syslogd ] && syslogd -C${log_size:-16} ${log_ip:+-L -R $log_ip${log_port:+:$log_port}} 
     24        [ -x /sbin/klogd ] && klogd 
    2525} 
    2626 
Note: See TracChangeset for help on using the changeset viewer.