mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 21:58:04 +00:00
Make the syslog ring-buffer size configurable (#3204)
SVN-Revision: 10557
This commit is contained in:
parent
6bce19599a
commit
8d30372bdc
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user