From 9c3bf81864220c186fee4ea201400cf7e17b90ac Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 3 Feb 2009 20:26:00 +0000 Subject: [PATCH] [base-files] allow specifying port where to log (#2019) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14396 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/etc/init.d/boot | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index f9f6c2d9e..b03209d8c 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 } -- 2.20.1