projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bce195
)
Make the syslog ring-buffer size configurable (#3204)
author
Florian Fainelli
<florian@openwrt.org>
Fri, 7 Mar 2008 10:44:13 +0000
(10:44 +0000)
committer
Florian 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
patch
|
blob
|
history
diff --git
a/package/base-files/files/etc/init.d/boot
b/package/base-files/files/etc/init.d/boot
index 0b7744746bce51bcf8db088ffcc05030cf819b74..5f5ca99b96562698a46450212156082baff1be49 100755
(executable)
--- a/
package/base-files/files/etc/init.d/boot
+++ b/
package/base-files/files/etc/init.d/boot
@@
-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
}