From: Florian Fainelli Date: Fri, 7 Mar 2008 10:44:13 +0000 (+0000) Subject: Make the syslog ring-buffer size configurable (#3204) X-Git-Tag: reboot~26964 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8d30372bdc2643a5919bf757cb50946b98b22c5e;p=openwrt%2Fopenwrt.git Make the syslog ring-buffer size configurable (#3204) SVN-Revision: 10557 --- diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index 0b7744746b..5f5ca99b96 100755 --- a/package/base-files/files/etc/init.d/boot +++ b/package/base-files/files/etc/init.d/boot @@ -14,7 +14,8 @@ system_config() { [ -n "$conloglevel" ] && dmesg -n "$conloglevel" config_get log_ip "$cfg" log_ip - syslogd -C16 ${log_ip:+-L -R $log_ip} + config_get log_size "$cfg" log_size + syslogd -C${log_size:-16} ${log_ip:+-L -R $log_ip} klogd }