diff options
author | Florian Fainelli <florian@openwrt.org> | 2008-03-07 10:44:13 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2008-03-07 10:44:13 +0000 |
commit | 8d30372bdc2643a5919bf757cb50946b98b22c5e (patch) | |
tree | 03691b00921202304463d192c860138c3915577c | |
parent | 6bce19599ad52e8243736b3a2a313a507696185c (diff) | |
download | upstream-8d30372bdc2643a5919bf757cb50946b98b22c5e.tar.gz upstream-8d30372bdc2643a5919bf757cb50946b98b22c5e.tar.bz2 upstream-8d30372bdc2643a5919bf757cb50946b98b22c5e.zip |
Make the syslog ring-buffer size configurable (#3204)
SVN-Revision: 10557
-rwxr-xr-x | package/base-files/files/etc/init.d/boot | 3 |
1 files changed, 2 insertions, 1 deletions
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 } |