aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/bin
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2016-06-08 16:03:20 +0300
committerJohn Crispin <john@phrozen.org>2016-06-07 23:13:29 +0200
commitdf7581e4c0966110cae823a7946aaa9c91003002 (patch)
treef702903327e7cb96b367e568ea506d3e01b6c030 /package/base-files/files/bin
parent0691a172d034b8eb0a4062775d04f07c1f972274 (diff)
downloadupstream-df7581e4c0966110cae823a7946aaa9c91003002.tar.gz
upstream-df7581e4c0966110cae823a7946aaa9c91003002.tar.bz2
upstream-df7581e4c0966110cae823a7946aaa9c91003002.zip
base-files: increase default system log size to 64 kB
Increase the default system log buffer size from 16 kB (built-in default in ubox logd) to 64 kB by setting the option in /etc/config/system. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Diffstat (limited to 'package/base-files/files/bin')
-rwxr-xr-xpackage/base-files/files/bin/config_generate1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/files/bin/config_generate b/package/base-files/files/bin/config_generate
index 43d5c3b0b1..8002bc4196 100755
--- a/package/base-files/files/bin/config_generate
+++ b/package/base-files/files/bin/config_generate
@@ -229,6 +229,7 @@ generate_static_system() {
set system.@system[-1].hostname='lede'
set system.@system[-1].timezone='UTC'
set system.@system[-1].ttylogin='0'
+ set system.@system[-1].log_size='64'
delete system.ntp
set system.ntp='timeserver'