From: Hannu Nyman Date: Wed, 8 Jun 2016 13:03:20 +0000 (+0300) Subject: base-files: increase default system log size to 64 kB X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=df7581e4c0966110cae823a7946aaa9c91003002;p=openwrt%2Fstaging%2Fyousong.git 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 --- 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'