From df7581e4c0966110cae823a7946aaa9c91003002 Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Wed, 8 Jun 2016 16:03:20 +0300 Subject: [PATCH] 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 --- package/base-files/Makefile | 2 +- package/base-files/files/bin/config_generate | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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' -- 2.25.1