Support configurations without syslogd/klogd.
SVN-Revision: 14937
This commit is contained in:
parent
b1e8b4677d
commit
088ea2fb6e
1 changed files with 2 additions and 2 deletions
|
@ -20,8 +20,8 @@ system_config() {
|
|||
config_get log_ip "$cfg" log_ip
|
||||
config_get log_size "$cfg" log_size
|
||||
config_get log_port "$cfg" log_port
|
||||
syslogd -C${log_size:-16} ${log_ip:+-L -R $log_ip${log_port:+:$log_port}}
|
||||
klogd
|
||||
[ -x /sbin/syslogd ] && syslogd -C${log_size:-16} ${log_ip:+-L -R $log_ip${log_port:+:$log_port}}
|
||||
[ -x /sbin/klogd ] && klogd
|
||||
}
|
||||
|
||||
apply_uci_config() {(
|
||||
|
|
Loading…
Reference in a new issue