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 | 753909115e7feb1630cd19bac1e3becadecd9c70 (patch) | |
tree | a4d7259605c0ae90bd675a3044ff604516305ac3 /package/base-files | |
parent | 2eb210786484a3e17aca2011503b07de008e0b7e (diff) | |
download | master-187ad058-753909115e7feb1630cd19bac1e3becadecd9c70.tar.gz master-187ad058-753909115e7feb1630cd19bac1e3becadecd9c70.tar.bz2 master-187ad058-753909115e7feb1630cd19bac1e3becadecd9c70.zip |
Make the syslog ring-buffer size configurable (#3204)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10557 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files')
-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 } |