allow specifying port where to log (#2019)

SVN-Revision: 14396
This commit is contained in:
Florian Fainelli 2009-02-03 20:26:00 +00:00
parent 1fc20f18d4
commit 1716050f0c

View file

@ -19,7 +19,8 @@ system_config() {
config_get log_ip "$cfg" log_ip
config_get log_size "$cfg" log_size
syslogd -C${log_size:-16} ${log_ip:+-L -R $log_ip}
config_get log_port "$cfg" log_port
syslogd -C${log_size:-16} ${log_ip:+-L -R $log_ip${log_port:+:$log_port}}
klogd
}