mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-30 21:15:19 +02:00
Make the syslog ring-buffer size configurable (#3204)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10557 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
699d63d8be
commit
72dff34c99
@ -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 New Issue
Block a user