mirror of https://github.com/hak5/openwrt-owl.git
ubox: increase default size of system log buffer to 64 kB
Increase the default system log buffer size from 16 kB (default both in logd source and in the startup script) to 64 kB by adjusting the default value in startup script. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>owl
parent
df7581e4c0
commit
efa740b08b
|
@ -1,7 +1,7 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=ubox
|
||||
PKG_VERSION:=2016-03-07
|
||||
PKG_VERSION:=2016-06-08
|
||||
PKG_RELEASE=$(PKG_SOURCE_VERSION)
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
|
|
|
@ -35,7 +35,7 @@ start_service_daemon()
|
|||
local log_buffer_size log_size
|
||||
validate_log_daemon "${1}"
|
||||
[ $log_buffer_size -eq 0 -a $log_size -gt 0 ] && log_buffer_size=$log_size
|
||||
[ $log_buffer_size -eq 0 ] && log_buffer_size=16
|
||||
[ $log_buffer_size -eq 0 ] && log_buffer_size=64
|
||||
procd_open_instance
|
||||
procd_set_param command "/sbin/logd"
|
||||
procd_append_param command -S "${log_buffer_size}"
|
||||
|
|
Loading…
Reference in New Issue