From 438180ead424ad61d2ad47c5f9d4b5da7ec4e1de Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 29 Apr 2009 13:19:23 +0000 Subject: modules/admin-{core,full}: cover new openwrt option "cronloglevel" --- modules/admin-core/root/lib/uci/schema/default/system | 8 ++++++++ modules/admin-full/luasrc/model/cbi/admin_system/system.lua | 1 + 2 files changed, 9 insertions(+) diff --git a/modules/admin-core/root/lib/uci/schema/default/system b/modules/admin-core/root/lib/uci/schema/default/system index 28fee1c2e..13339ee06 100644 --- a/modules/admin-core/root/lib/uci/schema/default/system +++ b/modules/admin-core/root/lib/uci/schema/default/system @@ -47,6 +47,14 @@ config variable option description 'Level of log messages on the console' option datatype integer +config variable + option name 'cronloglevel' + option section 'system.system' + option title 'Crond log level' + option description 'Level of log messages for cron daemon' + option datatype integer + + config section option name 'led' option package 'system' diff --git a/modules/admin-full/luasrc/model/cbi/admin_system/system.lua b/modules/admin-full/luasrc/model/cbi/admin_system/system.lua index 681468064..b3c2a4e86 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_system/system.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_system/system.lua @@ -76,4 +76,5 @@ end s:option(Value, "log_size", nil, "kiB").optional = true s:option(Value, "log_ip").optional = true s:option(Value, "conloglevel").optional = true +s:option(Value, "cronloglevel").optional = true return m -- cgit v1.2.3