Make the syslog ring-buffer size configurable (#3204)
SVN-Revision: 10557
This commit is contained in:
parent
6bce19599a
commit
8d30372bdc
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue