summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-03-07 10:44:13 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-03-07 10:44:13 +0000
commit8d30372bdc2643a5919bf757cb50946b98b22c5e (patch)
tree03691b00921202304463d192c860138c3915577c /package/base-files
parent6bce19599ad52e8243736b3a2a313a507696185c (diff)
downloadmtk-20170518-8d30372bdc2643a5919bf757cb50946b98b22c5e.zip
mtk-20170518-8d30372bdc2643a5919bf757cb50946b98b22c5e.tar.gz
mtk-20170518-8d30372bdc2643a5919bf757cb50946b98b22c5e.tar.bz2
Make the syslog ring-buffer size configurable (#3204)
SVN-Revision: 10557
Diffstat (limited to 'package/base-files')
-rwxr-xr-xpackage/base-files/files/etc/init.d/boot3
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 0b77447..5f5ca99 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
}