summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-03-07 10:44:13 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-03-07 10:44:13 +0000
commit72dff34c99d10b2c2e1f737348581a5261254fd2 (patch)
treea4d7259605c0ae90bd675a3044ff604516305ac3 /package/base-files
parent699d63d8beadbcbdb6799930edb927b32ea32df4 (diff)
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-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
}