From: Florian Fainelli Date: Tue, 3 Feb 2009 20:26:00 +0000 (+0000) Subject: allow specifying port where to log (#2019) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1716050f0c274d198abebf2b9e21fb9f754c199a;p=openwrt%2Fstaging%2Fneocturne.git allow specifying port where to log (#2019) SVN-Revision: 14396 --- diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index f9f6c2d9e6..b03209d8c2 100755 --- a/package/base-files/files/etc/init.d/boot +++ b/package/base-files/files/etc/init.d/boot @@ -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 }