1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-19 23:28:29 +02:00

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
}