aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
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
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')
-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 4015c340c8..1334d80d5d 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 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'