aboutsummaryrefslogtreecommitdiffstats
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
commit753909115e7feb1630cd19bac1e3becadecd9c70 (patch)
treea4d7259605c0ae90bd675a3044ff604516305ac3
parent2eb210786484a3e17aca2011503b07de008e0b7e (diff)
downloadupstream-753909115e7feb1630cd19bac1e3becadecd9c70.tar.gz
upstream-753909115e7feb1630cd19bac1e3becadecd9c70.tar.bz2
upstream-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
-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 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
}