summaryrefslogtreecommitdiff
path: root/package
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
parent0691a172d034b8eb0a4062775d04f07c1f972274 (diff)
downloadmtk-20170518-df7581e4c0966110cae823a7946aaa9c91003002.zip
mtk-20170518-df7581e4c0966110cae823a7946aaa9c91003002.tar.gz
mtk-20170518-df7581e4c0966110cae823a7946aaa9c91003002.tar.bz2
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')
-rw-r--r--package/base-files/Makefile2
-rwxr-xr-xpackage/base-files/files/bin/config_generate1
2 files changed, 2 insertions, 1 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 4015c34..1334d80 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -11,7 +11,7 @@ include $(INCLUDE_DIR)/kernel.mk
include $(INCLUDE_DIR)/version.mk
PKG_NAME:=base-files
-PKG_RELEASE:=168
+PKG_RELEASE:=169
PKG_FLAGS:=nonshared
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
diff --git a/package/base-files/files/bin/config_generate b/package/base-files/files/bin/config_generate
index 43d5c3b..8002bc4 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'