allow specifying port where to log (#2019)

SVN-Revision: 14396
owl
Florian Fainelli 2009-02-03 20:26:00 +00:00
parent 1fc20f18d4
commit 1716050f0c
1 changed files with 2 additions and 1 deletions

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
}