Make the syslog ring-buffer size configurable (#3204)

SVN-Revision: 10557
This commit is contained in:
Florian Fainelli 2008-03-07 10:44:13 +00:00
parent 6bce19599a
commit 8d30372bdc

View file

@ -14,7 +14,8 @@ system_config() {
[ -n "$conloglevel" ] && dmesg -n "$conloglevel" [ -n "$conloglevel" ] && dmesg -n "$conloglevel"
config_get log_ip "$cfg" log_ip 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 klogd
} }