aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/ubox/files
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2016-06-08 16:12:55 +0300
committerJohn Crispin <john@phrozen.org>2016-06-07 23:13:29 +0200
commitefa740b08bde7511334a654b3b4ec1f03682ee8b (patch)
tree460b6381bcc07bd7f1243533f6fb227c369c32ac /package/system/ubox/files
parentdf7581e4c0966110cae823a7946aaa9c91003002 (diff)
downloadupstream-efa740b08bde7511334a654b3b4ec1f03682ee8b.tar.gz
upstream-efa740b08bde7511334a654b3b4ec1f03682ee8b.tar.bz2
upstream-efa740b08bde7511334a654b3b4ec1f03682ee8b.zip
ubox: increase default size of system log buffer to 64 kB
Increase the default system log buffer size from 16 kB (default both in logd source and in the startup script) to 64 kB by adjusting the default value in startup script. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Diffstat (limited to 'package/system/ubox/files')
-rw-r--r--package/system/ubox/files/log.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/system/ubox/files/log.init b/package/system/ubox/files/log.init
index 53c936e246..722dc20e90 100644
--- a/package/system/ubox/files/log.init
+++ b/package/system/ubox/files/log.init
@@ -35,7 +35,7 @@ start_service_daemon()
local log_buffer_size log_size
validate_log_daemon "${1}"
[ $log_buffer_size -eq 0 -a $log_size -gt 0 ] && log_buffer_size=$log_size
- [ $log_buffer_size -eq 0 ] && log_buffer_size=16
+ [ $log_buffer_size -eq 0 ] && log_buffer_size=64
procd_open_instance
procd_set_param command "/sbin/logd"
procd_append_param command -S "${log_buffer_size}"