Make the syslog ring-buffer size configurable (#3204)
authorFlorian Fainelli <florian@openwrt.org>
Fri, 7 Mar 2008 10:44:13 +0000 (10:44 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Fri, 7 Mar 2008 10:44:13 +0000 (10:44 +0000)
SVN-Revision: 10557

package/base-files/files/etc/init.d/boot

index 0b7744746bce51bcf8db088ffcc05030cf819b74..5f5ca99b96562698a46450212156082baff1be49 100755 (executable)
@@ -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
 }